fix test based on chnaged data

This commit is contained in:
2025-09-20 22:11:20 +03:00
parent 02fe1f9750
commit a32bee3c8c

View File

@@ -229,7 +229,7 @@ class FixturePageTests(TestCase):
response = self.client.get("/caves") response = self.client.get("/caves")
self.assertEqual(response.status_code, HTTPStatus.OK) self.assertEqual(response.status_code, HTTPStatus.OK)
content = response.content.decode() content = response.content.decode()
ph = r"284 <em>Seetrichter</em>" ph = r"284 <em>Seetrichter (Lake bottom)</em>"
phmatch = re.search(ph, content) phmatch = re.search(ph, content)
# with open('_cave_fix_caves.html', 'w') as f: # with open('_cave_fix_caves.html', 'w') as f:
# f.write(content) # f.write(content)