summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-02-22 23:06:33 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-02-22 23:06:33 +0000
commit3118b717a09e19c6b90fb32b05e3cd2d7004b4de (patch)
treec6b269afbd68ca1b61277df1a9c2654e73abe4ed /core
parente95cff58180ec4f251dafeedb437dd48a94cbd9e (diff)
downloadtroggle-3118b717a09e19c6b90fb32b05e3cd2d7004b4de.tar.gz
troggle-3118b717a09e19c6b90fb32b05e3cd2d7004b4de.tar.bz2
troggle-3118b717a09e19c6b90fb32b05e3cd2d7004b4de.zip
fix tests to match cleaned-up urls.py
Diffstat (limited to 'core')
-rw-r--r--core/TESTS/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py
index 4c4638a..57c15ba 100644
--- a/core/TESTS/tests.py
+++ b/core/TESTS/tests.py
@@ -199,7 +199,7 @@ class PageTests(TestCase):
self.assertIsNone(phmatch, "Unexpectedly found unexpected text: '" + ph + "'")
def test_page_ss(self):
- response = self.client.get("/survey_scans/")
+ response = self.client.get("/survey_scans")
self.assertEqual(response.status_code, HTTPStatus.OK)
ph = r"All Survey scans folders "
@@ -427,7 +427,7 @@ class PageTests(TestCase):
def test_page_survey_scans_empty(self):
# this gets an empty page as the database has not been loaded
- response = self.client.get("/survey_scans/")
+ response = self.client.get("/survey_scans")
self.assertEqual(response.status_code, HTTPStatus.OK)
content = response.content.decode()
ph = r"contains the scanned original in-cave survey notes and sketches"