mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
fix for eastings page test
This commit is contained in:
parent
85dba41601
commit
18e1775cff
@ -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 + "'")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user