mirror of
https://github.com/caronc/apprise.git
synced 2025-08-09 16:35:07 +02:00
Tests: Use no_throttling
fixture everywhere
This commit is contained in:
@ -131,13 +131,11 @@ def test_plugin_nextcloud_urls():
|
||||
|
||||
|
||||
@mock.patch('requests.post')
|
||||
def test_plugin_nextcloud_edge_cases(mock_post):
|
||||
def test_plugin_nextcloud_edge_cases(mock_post, no_throttling):
|
||||
"""
|
||||
NotifyNextcloud() Edge Cases
|
||||
|
||||
"""
|
||||
# Disable Throttling to speed testing
|
||||
plugins.NotifyBase.request_rate_per_sec = 0
|
||||
|
||||
# A response
|
||||
robj = mock.Mock()
|
||||
|
Reference in New Issue
Block a user