mirror of
https://github.com/caronc/apprise.git
synced 2025-08-15 19:24:26 +02:00
Tests: Use no_throttling
fixture everywhere
This commit is contained in:
@ -145,13 +145,11 @@ def test_plugin_pushed_urls():
|
||||
|
||||
@mock.patch('requests.get')
|
||||
@mock.patch('requests.post')
|
||||
def test_plugin_pushed_edge_cases(mock_post, mock_get):
|
||||
def test_plugin_pushed_edge_cases(mock_post, mock_get, no_throttling):
|
||||
"""
|
||||
NotifyPushed() Edge Cases
|
||||
|
||||
"""
|
||||
# Disable Throttling to speed testing
|
||||
plugins.NotifyBase.request_rate_per_sec = 0
|
||||
|
||||
# Chat ID
|
||||
recipients = '@ABCDEFG, @DEFGHIJ, #channel, #channel2'
|
||||
|
Reference in New Issue
Block a user