mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 23:01:52 +00:00
fix because of format change
This commit is contained in:
parent
dfd8f4a453
commit
850e87b97a
@ -180,10 +180,10 @@ class FixturePageTests(TestCase):
|
||||
response = self.client.get("/caves")
|
||||
self.assertEqual(response.status_code, HTTPStatus.OK)
|
||||
content = response.content.decode()
|
||||
ph = r"284 Seetrichter"
|
||||
ph = r"284 <em>Seetrichter</em>"
|
||||
phmatch = re.search(ph, content)
|
||||
# with open('_cave_fix_caves.html', 'w') as f:
|
||||
# f.write(content)
|
||||
with open('_cave_fix_caves.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.
|
||||
|
Loading…
Reference in New Issue
Block a user