diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-02-22 23:06:33 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-02-22 23:06:33 +0000 |
commit | 3118b717a09e19c6b90fb32b05e3cd2d7004b4de (patch) | |
tree | c6b269afbd68ca1b61277df1a9c2654e73abe4ed /core | |
parent | e95cff58180ec4f251dafeedb437dd48a94cbd9e (diff) | |
download | troggle-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.py | 4 |
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" |