python-dbusmock 0.37.0__tar.gz → 0.37.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.github/workflows/release.yml +8 -3
- {python_dbusmock-0.37.0/python_dbusmock.egg-info → python_dbusmock-0.37.2}/PKG-INFO +1 -1
- python_dbusmock-0.37.2/dbusmock/_version.py +1 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/systemd.py +1 -2
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2/python_dbusmock.egg-info}/PKG-INFO +1 -1
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_networkmanager.py +1 -1
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_notification_daemon.py +1 -0
- python_dbusmock-0.37.0/dbusmock/_version.py +0 -1
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.fmf/version +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.github/workflows/pages.yml +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.github/workflows/tests.yml +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.gitignore +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.pre-commit-config.yaml +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/COPYING +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/NEWS +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/README.md +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/__init__.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/__main__.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/mockobject.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/pytest_fixtures.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/SKELETON +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/__init__.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/bluez5-obex.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/bluez5.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/gnome_screensaver.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/gsd_rfkill.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/logind.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/low_memory_monitor.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/modemmanager.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/networkmanager.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/notification_daemon.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/ofono.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/polkitd.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/power_profiles_daemon.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/timedated.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/upower.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/upower_power_profiles_daemon.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/urfkill.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/testcase.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/distro/python-dbusmock.spec +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/doc/conf.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/doc/index.rst +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/packit.yaml +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/plans/all.fmf +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/pyproject.toml +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/python_dbusmock.egg-info/SOURCES.txt +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/python_dbusmock.egg-info/dependency_links.txt +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/python_dbusmock.egg-info/requires.txt +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/python_dbusmock.egg-info/top_level.txt +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/setup.cfg +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/__init__.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/conftest.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/main.fmf +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/run +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/run-centos +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/run-debian +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/run-fedora +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/run-ubuntu +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_api.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_api_pytest.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_bluez5.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_cli.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_code.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_gnome_screensaver.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_gsd_rfkill.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_logind.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_low_memory_monitor.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_modemmanager.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_ofono.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_polkitd.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_power_profiles_daemon.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_systemd.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_timedated.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_upower.py +0 -0
- {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_urfkill.py +0 -0
|
@@ -13,6 +13,8 @@ jobs:
|
|
|
13
13
|
id-token: write
|
|
14
14
|
# create release
|
|
15
15
|
contents: write
|
|
16
|
+
env:
|
|
17
|
+
GH_TOKEN: ${{ github.token }}
|
|
16
18
|
steps:
|
|
17
19
|
- name: Clone repository
|
|
18
20
|
uses: actions/checkout@v5
|
|
@@ -44,9 +46,12 @@ jobs:
|
|
|
44
46
|
rm -rf tmp
|
|
45
47
|
|
|
46
48
|
- name: Create GitHub release
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
run: |
|
|
50
|
+
VERSION="${{ github.ref_name }}"
|
|
51
|
+
git tag -l --format='%(contents:body)' $VERSION > release-note.txt
|
|
52
|
+
|
|
53
|
+
gh release create --title $VERSION --notes-file release-note.txt $VERSION \
|
|
54
|
+
"dist/python_dbusmock-${VERSION}.tar.gz"
|
|
50
55
|
|
|
51
56
|
- name: Create PyPy release
|
|
52
57
|
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.37.2"
|
|
@@ -277,7 +277,7 @@ class TestNetworkManager(dbusmock.DBusTestCase):
|
|
|
277
277
|
self.assertRegex(self.read_general(), r"disconnected.*\sfull")
|
|
278
278
|
|
|
279
279
|
self.dbusmock.SetGlobalConnectionState(NMState.NM_STATE_ASLEEP)
|
|
280
|
-
self.assertRegex(self.read_general(), r"asleep.*\sfull")
|
|
280
|
+
self.assertRegex(self.read_general(), r"(asleep|off).*\sfull")
|
|
281
281
|
|
|
282
282
|
def test_connectivity_state(self):
|
|
283
283
|
self.dbusmock.SetConnectivity(NMConnectivityState.NM_CONNECTIVITY_FULL)
|
|
@@ -28,6 +28,7 @@ except (OSError, subprocess.CalledProcessError):
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
@unittest.skipUnless(notify_send_version, "notify-send not installed")
|
|
31
|
+
@unittest.skipIf(os.path.exists("/etc/apparmor.d/notify-send"), "AppArmor profile for notify-send active")
|
|
31
32
|
class TestNotificationDaemon(dbusmock.DBusTestCase):
|
|
32
33
|
"""Test mocking notification-daemon"""
|
|
33
34
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.37.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/power_profiles_daemon.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/upower_power_profiles_daemon.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/python_dbusmock.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|