diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-10-21 12:39:02 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-10-21 12:39:02 +0300 |
commit | 850e87b97a6a563e20285e419c5df624080728f9 (patch) | |
tree | a749fb3bd4d1ff32130f4185b9adad31f9d1a1fb /core/TESTS/test_caves.py | |
parent | dfd8f4a45314938029dc23f5e6c053a8561e0f69 (diff) | |
download | troggle-850e87b97a6a563e20285e419c5df624080728f9.tar.gz troggle-850e87b97a6a563e20285e419c5df624080728f9.tar.bz2 troggle-850e87b97a6a563e20285e419c5df624080728f9.zip |
fix because of format change
Diffstat (limited to 'core/TESTS/test_caves.py')
-rw-r--r-- | core/TESTS/test_caves.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/TESTS/test_caves.py b/core/TESTS/test_caves.py index 26bd0cc..6704cd8 100644 --- a/core/TESTS/test_caves.py +++ b/core/TESTS/test_caves.py @@ -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. |