diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-10-05 15:33:01 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-10-05 15:33:01 +0300 |
commit | 207513b8b5a641d94123fa48013f9e3b6aff24a9 (patch) | |
tree | 8898e93065b022476ced3709db25aa34b8cb27df /core/TESTS/test_caves.py | |
parent | ed993761a17841bb9295b5a468c9c5716ba4ffb2 (diff) | |
download | troggle-207513b8b5a641d94123fa48013f9e3b6aff24a9.tar.gz troggle-207513b8b5a641d94123fa48013f9e3b6aff24a9.tar.bz2 troggle-207513b8b5a641d94123fa48013f9e3b6aff24a9.zip |
tests now work again
Diffstat (limited to 'core/TESTS/test_caves.py')
-rw-r--r-- | core/TESTS/test_caves.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/TESTS/test_caves.py b/core/TESTS/test_caves.py index 42b0924..26bd0cc 100644 --- a/core/TESTS/test_caves.py +++ b/core/TESTS/test_caves.py @@ -61,7 +61,7 @@ class FixtureTests(TestCase): self.assertIsNotNone(phmatch, "In fixture-loaded cave, failed to find expected text: '" + ph + "'") def test_page_personexpedition(self): - response = self.client.get("/personexpedition/MichaelSargent/2019") + response = self.client.get("/personexpedition/michael-sargent/2019") content = response.content.decode() # with open('testresponse.html','w') as tr: # tr.writelines(content) @@ -110,7 +110,7 @@ class FixturePageTests(TestCase): self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'") def test_fix_personexped(self): - response = self.client.get("/personexpedition/MichaelSargent/2019") + response = self.client.get("/personexpedition/michael-sargent/2019") self.assertEqual(response.status_code, HTTPStatus.OK) ph = r"Table of all trips and surveys aligned by date" @@ -122,7 +122,7 @@ class FixturePageTests(TestCase): self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'") def test_fix_person(self): - response = self.client.get("/person/MichaelSargent") + response = self.client.get("/person/michael-sargent") self.assertEqual(response.status_code, HTTPStatus.OK) ph = r"second-generation expo caver " |