From 3118b717a09e19c6b90fb32b05e3cd2d7004b4de Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 22 Feb 2025 23:06:33 +0000 Subject: fix tests to match cleaned-up urls.py --- core/TESTS/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/TESTS/tests.py') 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" -- cgit v1.2.3