mirror of
https://github.com/caronc/apprise.git
synced 2025-02-12 16:30:17 +01:00
MessageBird unit test added
This commit is contained in:
parent
b2635b8a65
commit
eae45149b3
@ -2805,6 +2805,12 @@ TEST_URLS = (
|
|||||||
# reference to to= and frome=
|
# reference to to= and frome=
|
||||||
'instance': plugins.NotifyMessageBird,
|
'instance': plugins.NotifyMessageBird,
|
||||||
}),
|
}),
|
||||||
|
('msgbird://{}/15551232000'.format('a' * 25), {
|
||||||
|
'instance': plugins.NotifyMessageBird,
|
||||||
|
# force a failure
|
||||||
|
'response': False,
|
||||||
|
'requests_response_code': requests.codes.internal_server_error,
|
||||||
|
}),
|
||||||
('msgbird://{}/15551232000'.format('a' * 25), {
|
('msgbird://{}/15551232000'.format('a' * 25), {
|
||||||
'instance': plugins.NotifyMessageBird,
|
'instance': plugins.NotifyMessageBird,
|
||||||
# throw a bizzare code forcing us to fail to look it up
|
# throw a bizzare code forcing us to fail to look it up
|
||||||
|
Loading…
Reference in New Issue
Block a user