diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py index c93e35e..d0cce71 100644 --- a/core/TESTS/tests.py +++ b/core/TESTS/tests.py @@ -168,7 +168,7 @@ class PageTests(TestCase): response = self.client.get("/1623/115.htm") self.assertEqual(response.status_code, HTTPStatus.NOT_FOUND) content = response.content.decode() - ph = r"Page not found 1623/115.htm" + ph = r"Page not found 1623//115/115.htm" phmatch = re.search(ph, content) self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'") @@ -515,12 +515,12 @@ class PageTests(TestCase): phmatch = re.search(ph, content) self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'") - def test_eastings(self): + def test_stations(self): # Needs another test with test data response = self.client.get("/stations") self.assertEqual(response.status_code, HTTPStatus.OK) content = response.content.decode() - ph = r"