mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-26 01:01:53 +00:00
update tests for page name change
This commit is contained in:
parent
62de8095d8
commit
742ccb5f0b
@ -37,7 +37,7 @@ These url lines all come from templates/*.html
|
|||||||
{% url "dataissues" %}
|
{% url "dataissues" %}
|
||||||
{% url "dwgallfiles" %}
|
{% url "dwgallfiles" %}
|
||||||
{% url "dwgupload" %}
|
{% url "dwgupload" %}
|
||||||
{% url "eastings" %}
|
{% url "stations" %}
|
||||||
{% url "exportlogbook" %}
|
{% url "exportlogbook" %}
|
||||||
{% url "newcave" %}
|
{% url "newcave" %}
|
||||||
{% url "notablepersons" %}
|
{% url "notablepersons" %}
|
||||||
|
@ -517,7 +517,7 @@ class PageTests(TestCase):
|
|||||||
|
|
||||||
def test_eastings(self):
|
def test_eastings(self):
|
||||||
# Needs another test with test data
|
# Needs another test with test data
|
||||||
response = self.client.get("/eastings")
|
response = self.client.get("/stations")
|
||||||
self.assertEqual(response.status_code, HTTPStatus.OK)
|
self.assertEqual(response.status_code, HTTPStatus.OK)
|
||||||
content = response.content.decode()
|
content = response.content.decode()
|
||||||
ph = r"<tr><th>Survex Station</th><th>x</th><th>y</th>"
|
ph = r"<tr><th>Survex Station</th><th>x</th><th>y</th>"
|
||||||
|
Loading…
Reference in New Issue
Block a user