From 8f0e7435d694a96733de7d95b09f317e993e18d6 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 20 Apr 2021 23:57:19 +0100 Subject: renaming 'tunnel' to 'dwg' in urls and views --- core/TESTS/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/TESTS/tests.py') 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"

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: -- cgit v1.2.3