2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

fix for eastings page test

This commit is contained in:
Philip Sargent 2023-09-23 01:45:38 +03:00
parent 85dba41601
commit 18e1775cff

View File

@ -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 + "'")