mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 03:17:12 +00:00
fix code so tests work
This commit is contained in:
@@ -173,6 +173,8 @@ class PageTests(TestCase):
|
||||
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'")
|
||||
|
||||
def test_caves_page(self):
|
||||
# Throws up lots of cave error msgs because it is looking at something which is not loaded for the tests
|
||||
# but the test itself does not fail
|
||||
response = self.client.get("/caves")
|
||||
self.assertEqual(response.status_code, HTTPStatus.OK)
|
||||
content = response.content.decode()
|
||||
|
||||
Reference in New Issue
Block a user