forked from GithubBackups/healthchecks
Cleanup.
This commit is contained in:
parent
554f76e57a
commit
dde2910c59
@ -668,10 +668,6 @@ class NotifyTestCase(BaseTestCase):
|
||||
def test_not_implimented(self):
|
||||
self._setup_data("webhook", "http://example")
|
||||
self.channel.kind = "invalid"
|
||||
try:
|
||||
|
||||
with self.assertRaises(NotImplementedError):
|
||||
self.channel.notify(self.check)
|
||||
# Code should not reach here
|
||||
assert False
|
||||
except NotImplementedError:
|
||||
# We expect to be here
|
||||
assert True
|
||||
|
Loading…
x
Reference in New Issue
Block a user