mirror of
https://github.com/caronc/apprise-api.git
synced 2025-08-09 22:57:33 +02:00
slack is more forgiving; updated test case to accomodate
This commit is contained in:
@ -87,7 +87,7 @@ class AddTests(SimpleTestCase):
|
|||||||
# URL is actually not a valid one (invalid Slack tokens specified
|
# URL is actually not a valid one (invalid Slack tokens specified
|
||||||
# below)
|
# below)
|
||||||
response = self.client.post(
|
response = self.client.post(
|
||||||
'/add/{}'.format(key), {'urls': 'slack://TokenA/TokenB/TokenC'})
|
'/add/{}'.format(key), {'urls': 'slack://-/-/-'})
|
||||||
assert response.status_code == 400
|
assert response.status_code == 400
|
||||||
|
|
||||||
# Test with JSON
|
# Test with JSON
|
||||||
|
Reference in New Issue
Block a user