summaryrefslogtreecommitdiffstats
path: root/core/TESTS
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-11-02 00:02:21 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2023-11-02 00:02:21 +0200
commit742ccb5f0b995501a3fe304f38942ceff3acf63b (patch)
tree974aece79200e309ae2cbe38e6b8c15eaea73325 /core/TESTS
parent62de8095d866a66bf1e47d36c10ff787d65bbb08 (diff)
downloadtroggle-742ccb5f0b995501a3fe304f38942ceff3acf63b.tar.gz
troggle-742ccb5f0b995501a3fe304f38942ceff3acf63b.tar.bz2
troggle-742ccb5f0b995501a3fe304f38942ceff3acf63b.zip
update tests for page name change
Diffstat (limited to 'core/TESTS')
-rw-r--r--core/TESTS/test_urls.py2
-rw-r--r--core/TESTS/tests.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/TESTS/test_urls.py b/core/TESTS/test_urls.py
index d796cde..6cee23e 100644
--- a/core/TESTS/test_urls.py
+++ b/core/TESTS/test_urls.py
@@ -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" %}
diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py
index 14f9839..c93e35e 100644
--- a/core/TESTS/tests.py
+++ b/core/TESTS/tests.py
@@ -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>"