mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 21:17:07 +00:00
bad tests.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user