This commit is contained in:
Pēteris Caune 2019-08-12 14:41:50 +03:00
parent 554f76e57a
commit dde2910c59
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2

View File

@ -668,10 +668,6 @@ class NotifyTestCase(BaseTestCase):
def test_not_implimented(self): def test_not_implimented(self):
self._setup_data("webhook", "http://example") self._setup_data("webhook", "http://example")
self.channel.kind = "invalid" self.channel.kind = "invalid"
try:
with self.assertRaises(NotImplementedError):
self.channel.notify(self.check) self.channel.notify(self.check)
# Code should not reach here
assert False
except NotImplementedError:
# We expect to be here
assert True