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

update tests for page name change

This commit is contained in:
Philip Sargent 2023-11-02 00:02:21 +02:00
parent 62de8095d8
commit 742ccb5f0b
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ These url lines all come from templates/*.html
{% url "dataissues" %}
{% url "dwgallfiles" %}
{% url "dwgupload" %}
{% url "eastings" %}
{% url "stations" %}
{% url "exportlogbook" %}
{% url "newcave" %}
{% url "notablepersons" %}

View File

@ -517,7 +517,7 @@ class PageTests(TestCase):
def test_eastings(self):
# Needs another test with test data
response = self.client.get("/eastings")
response = self.client.get("/stations")
self.assertEqual(response.status_code, HTTPStatus.OK)
content = response.content.decode()
ph = r"<tr><th>Survex Station</th><th>x</th><th>y</th>"