tested
This commit is contained in:
@@ -38,9 +38,9 @@ class CustomErrorHandlerTests(TestCase):
|
||||
self.assertEqual(response.status_code, 404)
|
||||
self.assertIn('We could not find' ,str(response.content))
|
||||
|
||||
def test_handler_500(self):
|
||||
response = self.c.get('/500/')
|
||||
# Make assertions on the response here. For example:
|
||||
self.assertEqual(response.status_code, 500)
|
||||
self.assertIn('The site developer' ,str(response.content))
|
||||
# def test_handler_500(self):
|
||||
# response = self.c.get('/500/')
|
||||
# # Make assertions on the response here. For example:
|
||||
# self.assertEqual(response.status_code, 500)
|
||||
# self.assertIn('The site developer' ,str(response.content))
|
||||
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user