mirror of
https://github.com/caronc/apprise.git
synced 2025-12-15 10:04:06 +08:00
Turn large ntfy messages into a attachments (#1136)
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
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 @@
|
||||
diff -Naur apprise-1.8.0/test/conftest.py apprise-1.8.0-patched/test/conftest.py
|
||||
--- apprise-1.8.0/test/conftest.py 2024-06-01 21:28:32.102470720 -0400
|
||||
+++ apprise-1.8.0-patched/test/conftest.py 2024-06-01 21:29:32.363754277 -0400
|
||||
@@ -46,7 +46,7 @@
|
||||
A_MGR = AttachmentManager()
|
||||
|
||||
|
||||
-@pytest.fixture(scope="function", autouse=True)
|
||||
+@pytest.fixture(autouse=True)
|
||||
def mimetypes_always_available():
|
||||
"""
|
||||
A pytest session fixture which ensures mimetypes is set correctly
|
||||
@@ -56,8 +56,8 @@
|
||||
mimetypes.init(files=files)
|
||||
|
||||
|
||||
-@pytest.fixture(scope="function", autouse=True)
|
||||
-def no_throttling_everywhere(session_mocker):
|
||||
+@pytest.fixture(autouse=True)
|
||||
@@ -12,7 +21,7 @@ diff -Naur apprise-1.6.0/test/conftest.py apprise-1.6.0-patched/test/conftest.py
|
||||
"""
|
||||
A pytest session fixture which disables throttling on all notifiers.
|
||||
It is automatically enabled.
|
||||
@@ -57,4 +57,4 @@
|
||||
@@ -68,4 +68,4 @@
|
||||
A_MGR.unload_modules()
|
||||
|
||||
for plugin in N_MGR.plugins():
|
||||
|
||||
Reference in New Issue
Block a user