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.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py
index 946d579..aed66bb 100644
--- a/core/TESTS/tests.py
+++ b/core/TESTS/tests.py
@@ -158,6 +158,16 @@ class PageTests(TestCase):
phmatch = re.search(ph, content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
+ def test_page_ss(self):
+ response = self.client.get('/survey_scans/')
+ self.assertEqual(response.status_code, 200)
+
+ ph = r'All Survey scans folders '
+ content = response.content.decode()
+ phmatch = re.search(ph, content)
+ with open('ss-op.html', 'w') as f:
+ f.write(content)
+ self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
def test_page_admin(self):