summaryrefslogtreecommitdiffstats
path: root/core/TESTS/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/TESTS/tests.py')
-rw-r--r--core/TESTS/tests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py
index 64dda9b..fa539d9 100644
--- a/core/TESTS/tests.py
+++ b/core/TESTS/tests.py
@@ -64,6 +64,14 @@ class PageTests(TestCase):
phmatch = re.search(ph, content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
+ def test_expoweb_paths(self):
+ response = self.client.get('/pathsreport')
+ self.assertEqual(response.status_code, 200)
+ content = response.content.decode()
+ ph = r'This report is generated from'
+ phmatch = re.search(ph, content)
+ self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
+
def test_expoweb_dir(self):
response = self.client.get('/handbook')
content = response.content.decode()