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:
@ -155,13 +155,11 @@ def test_plugin_smtp2go_urls():
|
||||
|
||||
|
||||
@mock.patch('requests.post')
|
||||
def test_plugin_smtp2go_attachments(mock_post):
|
||||
def test_plugin_smtp2go_attachments(mock_post, no_throttling):
|
||||
"""
|
||||
NotifySMTP2Go() Attachments
|
||||
|
||||
"""
|
||||
# Disable Throttling to speed testing
|
||||
plugins.NotifyBase.request_rate_per_sec = 0
|
||||
|
||||
okay_response = requests.Request()
|
||||
okay_response.status_code = requests.codes.ok
|
||||
|
Reference in New Issue
Block a user