summaryrefslogtreecommitdiffstats
path: root/core/TESTS/tests.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-20 23:57:19 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-20 23:57:19 +0100
commit8f0e7435d694a96733de7d95b09f317e993e18d6 (patch)
tree3613ca02d5f77206f86d6914bccb7a87b743bae5 /core/TESTS/tests.py
parentbad5484d126bf0d61a07d642aeb18f9ad4fc9dea (diff)
downloadtroggle-8f0e7435d694a96733de7d95b09f317e993e18d6.tar.gz
troggle-8f0e7435d694a96733de7d95b09f317e993e18d6.tar.bz2
troggle-8f0e7435d694a96733de7d95b09f317e993e18d6.zip
renaming 'tunnel' to 'dwg' in urls and views
Diffstat (limited to 'core/TESTS/tests.py')
-rw-r--r--core/TESTS/tests.py8
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: