diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-03-12 16:21:31 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-03-12 16:21:31 +0000 |
commit | 45fcaac47d2fefd5ab764c1be88a896a2ac6be9a (patch) | |
tree | c234b686f34015e633b8a43b0ea3b0cbed3f665e /core/TESTS/tests.py | |
parent | 35e9eb558d0ef7fb34d8ed7140a684cdce0998cf (diff) | |
download | troggle-45fcaac47d2fefd5ab764c1be88a896a2ac6be9a.tar.gz troggle-45fcaac47d2fefd5ab764c1be88a896a2ac6be9a.tar.bz2 troggle-45fcaac47d2fefd5ab764c1be88a896a2ac6be9a.zip |
test revers() function
Diffstat (limited to 'core/TESTS/tests.py')
-rw-r--r-- | core/TESTS/tests.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py index fc6f12b..e5c4349 100644 --- a/core/TESTS/tests.py +++ b/core/TESTS/tests.py @@ -476,23 +476,6 @@ class PageTests(TestCase): self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'") - def test_statistics(self): - response = self.client.get("/statistics") - self.assertEqual(response.status_code, HTTPStatus.OK) - content = response.content.decode() - ph = r"0 expeditions: 0 people, 0 caves and 0 logbook entries." - phmatch = re.search(ph, content) - self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'") - - def test_stats(self): - # Needs another test with test data - response = self.client.get("/stats") - self.assertEqual(response.status_code, HTTPStatus.OK) - content = response.content.decode() - ph = r"Total length: 0.0 km adding up the total for each year." - phmatch = re.search(ph, content) - self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'") - def test_dataissues(self): # Needs another test with test data response = self.client.get("/dataissues") |