mirror of
https://github.com/caronc/apprise.git
synced 2025-08-09 16:35:07 +02:00
Tests: Use global no_throttling_everywhere
fixture (#701)
Instead of needing to individually disable throttling on a per-plugin basis, this fixture takes care of all notifiers in `NOTIFY_MODULE_MAP` automatically. With `autouse=True`, there is no need to activate it manually.
This commit is contained in:
@ -154,7 +154,7 @@ def test_plugin_signal_urls():
|
||||
|
||||
|
||||
@mock.patch('requests.post')
|
||||
def test_plugin_signal_edge_cases(mock_post, no_throttling):
|
||||
def test_plugin_signal_edge_cases(mock_post):
|
||||
"""
|
||||
NotifySignalAPI() Edge Cases
|
||||
|
||||
@ -207,7 +207,7 @@ def test_plugin_signal_edge_cases(mock_post, no_throttling):
|
||||
|
||||
|
||||
@mock.patch('requests.post')
|
||||
def test_plugin_signal_test_based_on_feedback(mock_post, no_throttling):
|
||||
def test_plugin_signal_test_based_on_feedback(mock_post):
|
||||
"""
|
||||
NotifySignalAPI() User Feedback Test
|
||||
|
||||
@ -305,7 +305,7 @@ def test_plugin_signal_test_based_on_feedback(mock_post, no_throttling):
|
||||
|
||||
|
||||
@mock.patch('requests.post')
|
||||
def test_notify_signal_plugin_attachments(mock_post, no_throttling):
|
||||
def test_notify_signal_plugin_attachments(mock_post):
|
||||
"""
|
||||
NotifySignalAPI() Attachments
|
||||
|
||||
|
Reference in New Issue
Block a user