diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-23 01:45:38 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-23 01:45:38 +0300 |
commit | 18e1775cffb22e755668aac207b61bcc7b28ffde (patch) | |
tree | 4d590d96fae17766afb11aea56faeb5ec1fcf41f /core/TESTS/tests.py | |
parent | 85dba41601465150112eab6fdbdaedf68c604311 (diff) | |
download | troggle-18e1775cffb22e755668aac207b61bcc7b28ffde.tar.gz troggle-18e1775cffb22e755668aac207b61bcc7b28ffde.tar.bz2 troggle-18e1775cffb22e755668aac207b61bcc7b28ffde.zip |
fix for eastings page test
Diffstat (limited to 'core/TESTS/tests.py')
-rw-r--r-- | core/TESTS/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py index 4d3286f..14f9839 100644 --- a/core/TESTS/tests.py +++ b/core/TESTS/tests.py @@ -520,7 +520,7 @@ class PageTests(TestCase): response = self.client.get("/eastings") self.assertEqual(response.status_code, HTTPStatus.OK) content = response.content.decode() - ph = r"<tr><th>Survex Station</th><th>x</th><th>y</th></tr>" + ph = r"<tr><th>Survex Station</th><th>x</th><th>y</th>" phmatch = re.search(ph, content) self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'") |