mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-05-30 14:21:46 +01:00
Addressing codacy issues
This commit is contained in:
@@ -66,7 +66,7 @@ class HttpStatusTest(unittest.TestCase):
|
||||
|
||||
def test_init_with_invalid_number(self):
|
||||
"""Invalid values should just fail with a ValueError, as we can't convert it to int."""
|
||||
with pytest.raises(ValueError) as excinfo:
|
||||
with pytest.raises(ValueError):
|
||||
self.expectation = HttpStatus({'type': 'HTTP_STATUS', 'status_range': "foo"})
|
||||
|
||||
def test_get_status_healthy(self):
|
||||
|
||||
Reference in New Issue
Block a user