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