forked from pool/python-apprise
Matej Cepl
b659ccc6aa
This package is required for the current version of Borgmatic, which I updated. I would like to maintain in the python devel project as well as in Factory. OBS-URL: https://build.opensuse.org/request/show/1146545 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apprise?expand=0&rev=1
21 lines
785 B
Diff
21 lines
785 B
Diff
diff -Naur apprise-1.6.0/test/conftest.py apprise-1.6.0-patched/test/conftest.py
|
|
--- apprise-1.6.0/test/conftest.py 2023-12-27 11:20:40.000000000 -0500
|
|
+++ apprise-1.6.0-patched/test/conftest.py 2023-12-27 13:43:22.583100037 -0500
|
|
@@ -45,8 +45,8 @@
|
|
A_MGR = AttachmentManager()
|
|
|
|
|
|
-@pytest.fixture(scope="function", autouse=True)
|
|
-def no_throttling_everywhere(session_mocker):
|
|
+@pytest.fixture(autouse=True)
|
|
+def no_throttling_everywhere(mocker):
|
|
"""
|
|
A pytest session fixture which disables throttling on all notifiers.
|
|
It is automatically enabled.
|
|
@@ -57,4 +57,4 @@
|
|
A_MGR.unload_modules()
|
|
|
|
for plugin in N_MGR.plugins():
|
|
- session_mocker.patch.object(plugin, "request_rate_per_sec", 0)
|
|
+ mocker.patch.object(plugin, "request_rate_per_sec", 0)
|