diff options
Diffstat (limited to 'core/TESTS/tests.py')
-rw-r--r-- | core/TESTS/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py index aed66bb..4d22596 100644 --- a/core/TESTS/tests.py +++ b/core/TESTS/tests.py @@ -345,9 +345,9 @@ class PageTests(TestCase): phmatch = re.search(ph, content) self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'") - def test_page_tunneldataraw_empty(self): + def test_page_dwgdataraw_empty(self): # this gets an empty page as the database has not been loaded - response = self.client.get('/tunneldataraw/') + response = self.client.get('/dwgdataraw/') self.assertEqual(response.status_code, 200) content = response.content.decode() ph = r"<h1>Directory not found" @@ -387,9 +387,9 @@ class PageTests(TestCase): # self.assertEqual(response.status_code, 200) # self.assertEqual(len(response.content), 823304) # fails, but is working manually! - # def test_page_tunneldataraw_107sketch_xml(self): + # def test_page_dwgdataraw_107sketch_xml(self): # # this has an error as the database has not been loaded yet in the tests - # response = self.client.get('/tunneldataraw/107/107sketch-v2.xml') + # response = self.client.get('/dwgdataraw/107/107sketch-v2.xml') # if response.status_code != 200: # self.assertEqual(response.status_code, 302) # if response.status_code != 302: |