forked from expo/troggle
fix test based on chnaged data
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user