diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-16 19:53:39 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-16 19:53:39 +0300 |
commit | 81b5198cd127f47e888ae6ef3760a18793f9819e (patch) | |
tree | 50be1d149889427e60d10fade67a907ef210b185 /core/TESTS | |
parent | 9db0b2a191b0ab8132cbae2ba526d75fddf48800 (diff) | |
download | troggle-81b5198cd127f47e888ae6ef3760a18793f9819e.tar.gz troggle-81b5198cd127f47e888ae6ef3760a18793f9819e.tar.bz2 troggle-81b5198cd127f47e888ae6ef3760a18793f9819e.zip |
fix code so tests work
Diffstat (limited to 'core/TESTS')
-rw-r--r-- | core/TESTS/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py index 00a5021..4d3286f 100644 --- a/core/TESTS/tests.py +++ b/core/TESTS/tests.py @@ -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() |