mirror of
https://github.com/caronc/apprise.git
synced 2025-08-09 00:15:03 +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:
@ -37,7 +37,7 @@ import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
def test_notify_overflow_truncate(no_throttling):
|
||||
def test_notify_overflow_truncate():
|
||||
"""
|
||||
API: Overflow Truncate Functionality Testing
|
||||
|
||||
@ -206,7 +206,7 @@ def test_notify_overflow_truncate(no_throttling):
|
||||
assert title[0:TestNotification.body_maxlen] == chunks[0].get('body')
|
||||
|
||||
|
||||
def test_notify_overflow_split(no_throttling):
|
||||
def test_notify_overflow_split():
|
||||
"""
|
||||
API: Overflow Split Functionality Testing
|
||||
|
||||
@ -379,7 +379,7 @@ def test_notify_overflow_split(no_throttling):
|
||||
offset += len(_body)
|
||||
|
||||
|
||||
def test_notify_overflow_general(no_throttling):
|
||||
def test_notify_overflow_general():
|
||||
"""
|
||||
API: Overflow General Testing
|
||||
|
||||
|
Reference in New Issue
Block a user