python-dbusmock 0.34.2__tar.gz → 0.34.3__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 (79) hide show
  1. {python_dbusmock-0.34.2/python_dbusmock.egg-info → python_dbusmock-0.34.3}/PKG-INFO +3 -2
  2. python_dbusmock-0.34.3/dbusmock/_version.py +1 -0
  3. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/packit.yaml +5 -3
  4. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3/python_dbusmock.egg-info}/PKG-INFO +3 -2
  5. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_notification_daemon.py +5 -9
  6. python_dbusmock-0.34.2/dbusmock/_version.py +0 -1
  7. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/.fmf/version +0 -0
  8. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/.github/release.eloquent.yml +0 -0
  9. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/.github/workflows/pages.yml +0 -0
  10. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/.github/workflows/release.yml +0 -0
  11. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/.github/workflows/tests.yml +0 -0
  12. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/.gitignore +0 -0
  13. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/.pre-commit-config.yaml +0 -0
  14. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/COPYING +0 -0
  15. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/NEWS +0 -0
  16. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/README.md +0 -0
  17. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/__init__.py +0 -0
  18. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/__main__.py +0 -0
  19. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/mockobject.py +0 -0
  20. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/pytest_fixtures.py +0 -0
  21. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/SKELETON +0 -0
  22. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/__init__.py +0 -0
  23. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/bluez5-obex.py +0 -0
  24. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/bluez5.py +0 -0
  25. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/gnome_screensaver.py +0 -0
  26. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/gsd_rfkill.py +0 -0
  27. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/iio-sensors-proxy.py +0 -0
  28. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/logind.py +0 -0
  29. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/low_memory_monitor.py +0 -0
  30. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/modemmanager.py +0 -0
  31. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/networkmanager.py +0 -0
  32. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/notification_daemon.py +0 -0
  33. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/ofono.py +0 -0
  34. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/polkitd.py +0 -0
  35. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/power_profiles_daemon.py +0 -0
  36. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/systemd.py +0 -0
  37. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/timedated.py +0 -0
  38. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/upower.py +0 -0
  39. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/upower_power_profiles_daemon.py +0 -0
  40. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/templates/urfkill.py +0 -0
  41. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/dbusmock/testcase.py +0 -0
  42. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/doc/conf.py +0 -0
  43. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/doc/index.rst +0 -0
  44. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/packaging/python-dbusmock.spec +0 -0
  45. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/plans/all.fmf +0 -0
  46. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/pyproject.toml +0 -0
  47. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/python_dbusmock.egg-info/SOURCES.txt +0 -0
  48. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/python_dbusmock.egg-info/dependency_links.txt +0 -0
  49. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/python_dbusmock.egg-info/requires.txt +0 -0
  50. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/python_dbusmock.egg-info/top_level.txt +0 -0
  51. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/setup.cfg +0 -0
  52. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/setup.py +0 -0
  53. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/__init__.py +0 -0
  54. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/conftest.py +0 -0
  55. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/main.fmf +0 -0
  56. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/run +0 -0
  57. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/run-centos +0 -0
  58. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/run-debian +0 -0
  59. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/run-fedora +0 -0
  60. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/run-ubuntu +0 -0
  61. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_api.py +0 -0
  62. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_api_pytest.py +0 -0
  63. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_bluez5.py +0 -0
  64. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_cli.py +0 -0
  65. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_code.py +0 -0
  66. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_gnome_screensaver.py +0 -0
  67. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_gsd_rfkill.py +0 -0
  68. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_iio_sensors_proxy.py +0 -0
  69. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_logind.py +0 -0
  70. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_low_memory_monitor.py +0 -0
  71. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_modemmanager.py +0 -0
  72. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_networkmanager.py +0 -0
  73. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_ofono.py +0 -0
  74. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_polkitd.py +0 -0
  75. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_power_profiles_daemon.py +0 -0
  76. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_systemd.py +0 -0
  77. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_timedated.py +0 -0
  78. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_upower.py +0 -0
  79. {python_dbusmock-0.34.2 → python_dbusmock-0.34.3}/tests/test_urfkill.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: python-dbusmock
3
- Version: 0.34.2
3
+ Version: 0.34.3
4
4
  Summary: Mock D-Bus objects
5
5
  Home-page: https://github.com/martinpitt/python-dbusmock
6
6
  Download-URL: https://pypi.python.org/pypi/python-dbusmock/
@@ -188,6 +188,7 @@ Requires-Python: >=3.8
188
188
  Description-Content-Type: text/markdown
189
189
  License-File: COPYING
190
190
  Requires-Dist: dbus-python
191
+ Dynamic: download-url
191
192
 
192
193
  ![CI status](https://github.com/martinpitt/python-dbusmock/actions/workflows/tests.yml/badge.svg)
193
194
 
@@ -0,0 +1 @@
1
+ __version__ = "0.34.3"
@@ -23,9 +23,11 @@ jobs:
23
23
  - job: copr_build
24
24
  trigger: pull_request
25
25
  targets:
26
- - fedora-all
27
- - centos-stream-9-x86_64
28
- - centos-stream-10-x86_64
26
+ - fedora-latest-i386
27
+ - fedora-latest-aarch64
28
+ - fedora-latest-ppc64le
29
+ - fedora-latest-s390x
30
+ - fedora-latest-armhfp
29
31
 
30
32
  - job: tests
31
33
  trigger: pull_request
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: python-dbusmock
3
- Version: 0.34.2
3
+ Version: 0.34.3
4
4
  Summary: Mock D-Bus objects
5
5
  Home-page: https://github.com/martinpitt/python-dbusmock
6
6
  Download-URL: https://pypi.python.org/pypi/python-dbusmock/
@@ -188,6 +188,7 @@ Requires-Python: >=3.8
188
188
  Description-Content-Type: text/markdown
189
189
  License-File: COPYING
190
190
  Requires-Dist: dbus-python
191
+ Dynamic: download-url
191
192
 
192
193
  ![CI status](https://github.com/martinpitt/python-dbusmock/actions/workflows/tests.yml/badge.svg)
193
194
 
@@ -54,21 +54,17 @@ class TestNotificationDaemon(dbusmock.DBusTestCase):
54
54
  log = self.p_mock.stdout.read()
55
55
  self.assertRegex(log, b'[0-9.]+ Notify "notify-send" 0 "" "title" "my text" \\[\\]')
56
56
 
57
- @unittest.skipIf(notify_send_version < "0.7.5", "this requires libnotify >= 0.7.5")
58
57
  def test_options(self):
59
58
  """notify-send with some options"""
60
59
 
61
60
  subprocess.check_call(["notify-send", "-t", "27", "-a", "fooApp", "-i", "warning_icon", "title", "my text"])
62
61
  log = self.p_mock.stdout.read()
63
62
  # HACK: Why is the timeout missing on s390x?
64
- if os.uname().machine == "s390x":
65
- self.assertRegex(
66
- log, b'[0-9.]+ Notify "fooApp" 0 "warning_icon" "title" "my text" \\[\\] {.*"urgency": 1'
67
- )
68
- else:
69
- self.assertRegex(
70
- log, b'[0-9.]+ Notify "fooApp" 0 "warning_icon" "title" "my text" \\[\\] {.*"urgency": 1.* 27\n'
71
- )
63
+ if os.uname().machine != "s390x":
64
+ self.assertRegex(log, rb"[0-9.]+ Notify.* 27\n")
65
+ # libnotify 0.8.4 changes warning_icon from positional to optional argument, so check that separately
66
+ self.assertRegex(log, rb'[0-9.]+ Notify "fooApp" 0 "(warning_icon)?" "title" "my text" \[\] {.*"urgency": 1')
67
+ self.assertRegex(log, rb"[0-9.]+ Notify .*warning_icon")
72
68
 
73
69
  def test_id(self):
74
70
  """ID handling"""
@@ -1 +0,0 @@
1
- __version__ = "0.34.2"
File without changes