summaryrefslogtreecommitdiffstats
path: root/core/TESTS/tests.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-12-05 21:45:06 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2021-12-05 21:45:06 +0000
commit406b4590a9470aa0a965b46bbe06730d3a278f9b (patch)
tree66d57bcb7dec3c34610aa681691cbf73dfbde9e7 /core/TESTS/tests.py
parentb3aa99f008f7b34772e296eaa45a7457a41beea6 (diff)
downloadtroggle-406b4590a9470aa0a965b46bbe06730d3a278f9b.tar.gz
troggle-406b4590a9470aa0a965b46bbe06730d3a278f9b.tar.bz2
troggle-406b4590a9470aa0a965b46bbe06730d3a278f9b.zip
fix tests to match new error messages
Diffstat (limited to 'core/TESTS/tests.py')
-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 46513f6..3bcebc4 100644
--- a/core/TESTS/tests.py
+++ b/core/TESTS/tests.py
@@ -162,7 +162,7 @@ class PageTests(TestCase):
response = self.client.get('/cave/115')
self.assertEqual(response.status_code, 200)
content = response.content.decode()
- ph = r"Cave not found in database"
+ ph = r"Cave Identifier not found in database"
phmatch = re.search(ph, content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
@@ -435,7 +435,7 @@ class PageTests(TestCase):
response = self.client.get('/survexfile/not_a_real_cave_number')
self.assertEqual(response.status_code, 200)
content = response.content.decode()
- ph = r'Cave not found in database'
+ ph = r'Cave Identifier not found in database'
phmatch = re.search(ph, content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")