MessageBird unit test added

This commit is contained in:
Chris Caron 2019-09-20 20:56:00 -04:00
parent b2635b8a65
commit eae45149b3

View File

@ -2805,6 +2805,12 @@ TEST_URLS = (
# reference to to= and frome=
'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), {
'instance': plugins.NotifyMessageBird,
# throw a bizzare code forcing us to fail to look it up