Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:PowerPC
python-apprise
apprise-pytest-session_mocker-removal.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apprise-pytest-session_mocker-removal.patch of Package python-apprise
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)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor