diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/TESTS/test_caves.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/core/TESTS/test_caves.py b/core/TESTS/test_caves.py index d6e8bc7..c0a2e9c 100644 --- a/core/TESTS/test_caves.py +++ b/core/TESTS/test_caves.py @@ -189,16 +189,7 @@ class FixturePageTests(TestCase): # f.write(content) self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'") - - def test_fix_cavehtml284(self): - response = self.client.get("/1623/284/284.html") - self.assertEqual(response.status_code, HTTPStatus.OK) - content = response.content.decode() - ph = r"A 25m long (22m deep) resurgence in Altausee" - phmatch = re.search(ph, content) - with open('_cave_fix_cavehtml284.html', 'w') as f: - f.write(content) - self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'") +# Although the Cave object exists, it looks like we get a bad slug error when trying to get a QM page. # def test_fix_qms(self): # response = self.client.get("/cave/qms/1623-284") |