Addressing codacy issues

This commit is contained in:
Mitsuo Takaki
2018-03-18 17:44:01 -07:00
parent 1899e95642
commit d3c14e6491
3 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -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):