slack is more forgiving; updated test case to accomodate

This commit is contained in:
Chris Caron 2020-05-16 09:05:07 -04:00
parent ce7ebdb080
commit 308b835ba8

View File

@ -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