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.
Files changed (75) hide show
  1. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.github/workflows/release.yml +8 -3
  2. {python_dbusmock-0.37.0/python_dbusmock.egg-info → python_dbusmock-0.37.2}/PKG-INFO +1 -1
  3. python_dbusmock-0.37.2/dbusmock/_version.py +1 -0
  4. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/systemd.py +1 -2
  5. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2/python_dbusmock.egg-info}/PKG-INFO +1 -1
  6. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_networkmanager.py +1 -1
  7. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_notification_daemon.py +1 -0
  8. python_dbusmock-0.37.0/dbusmock/_version.py +0 -1
  9. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.fmf/version +0 -0
  10. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.github/workflows/pages.yml +0 -0
  11. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.github/workflows/tests.yml +0 -0
  12. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.gitignore +0 -0
  13. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/.pre-commit-config.yaml +0 -0
  14. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/COPYING +0 -0
  15. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/NEWS +0 -0
  16. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/README.md +0 -0
  17. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/__init__.py +0 -0
  18. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/__main__.py +0 -0
  19. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/mockobject.py +0 -0
  20. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/pytest_fixtures.py +0 -0
  21. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/SKELETON +0 -0
  22. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/__init__.py +0 -0
  23. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/bluez5-obex.py +0 -0
  24. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/bluez5.py +0 -0
  25. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/gnome_screensaver.py +0 -0
  26. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/gsd_rfkill.py +0 -0
  27. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/logind.py +0 -0
  28. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/low_memory_monitor.py +0 -0
  29. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/modemmanager.py +0 -0
  30. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/networkmanager.py +0 -0
  31. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/notification_daemon.py +0 -0
  32. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/ofono.py +0 -0
  33. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/polkitd.py +0 -0
  34. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/power_profiles_daemon.py +0 -0
  35. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/timedated.py +0 -0
  36. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/upower.py +0 -0
  37. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/upower_power_profiles_daemon.py +0 -0
  38. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/templates/urfkill.py +0 -0
  39. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/dbusmock/testcase.py +0 -0
  40. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/distro/python-dbusmock.spec +0 -0
  41. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/doc/conf.py +0 -0
  42. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/doc/index.rst +0 -0
  43. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/packit.yaml +0 -0
  44. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/plans/all.fmf +0 -0
  45. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/pyproject.toml +0 -0
  46. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/python_dbusmock.egg-info/SOURCES.txt +0 -0
  47. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/python_dbusmock.egg-info/dependency_links.txt +0 -0
  48. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/python_dbusmock.egg-info/requires.txt +0 -0
  49. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/python_dbusmock.egg-info/top_level.txt +0 -0
  50. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/setup.cfg +0 -0
  51. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/__init__.py +0 -0
  52. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/conftest.py +0 -0
  53. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/main.fmf +0 -0
  54. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/run +0 -0
  55. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/run-centos +0 -0
  56. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/run-debian +0 -0
  57. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/run-fedora +0 -0
  58. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/run-ubuntu +0 -0
  59. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_api.py +0 -0
  60. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_api_pytest.py +0 -0
  61. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_bluez5.py +0 -0
  62. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_cli.py +0 -0
  63. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_code.py +0 -0
  64. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_gnome_screensaver.py +0 -0
  65. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_gsd_rfkill.py +0 -0
  66. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_logind.py +0 -0
  67. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_low_memory_monitor.py +0 -0
  68. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_modemmanager.py +0 -0
  69. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_ofono.py +0 -0
  70. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_polkitd.py +0 -0
  71. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_power_profiles_daemon.py +0 -0
  72. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_systemd.py +0 -0
  73. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_timedated.py +0 -0
  74. {python_dbusmock-0.37.0 → python_dbusmock-0.37.2}/tests/test_upower.py +0 -0
  75. {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
- uses: cockpit-project/action-release@7d2e2657382e8d34f88a24b5987f2b81ea165785
48
- with:
49
- filename: "dist/python_dbusmock-${{ github.ref_name }}.tar.gz"
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-dbusmock
3
- Version: 0.37.0
3
+ Version: 0.37.2
4
4
  Summary: Mock D-Bus objects
5
5
  Author-email: Martin Pitt <martin@piware.de>
6
6
  License: GNU LESSER GENERAL PUBLIC LICENSE
@@ -0,0 +1 @@
1
+ __version__ = "0.37.2"
@@ -1,5 +1,4 @@
1
- """systemd mock template
2
- """
1
+ """systemd mock template"""
3
2
 
4
3
  # This program is free software; you can redistribute it and/or modify it under
5
4
  # the terms of the GNU Lesser General Public License as published by the Free
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-dbusmock
3
- Version: 0.37.0
3
+ Version: 0.37.2
4
4
  Summary: Mock D-Bus objects
5
5
  Author-email: Martin Pitt <martin@piware.de>
6
6
  License: GNU LESSER GENERAL PUBLIC LICENSE
@@ -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