summaryrefslogtreecommitdiffstats
path: root/core/TESTS/tests_caves.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/TESTS/tests_caves.py')
-rw-r--r--core/TESTS/tests_caves.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/TESTS/tests_caves.py b/core/TESTS/tests_caves.py
index 13152f7..dd8f1df 100644
--- a/core/TESTS/tests_caves.py
+++ b/core/TESTS/tests_caves.py
@@ -37,7 +37,7 @@ class FixtureTests(TestCase):
def test_fix_cave_loaded115(self):
c = Cave.objects.get(kataster_number='115')
self.assertEqual(str(c.description_file), "1623/115.htm")
- self.assertEqual(str(c.url), "1623/115.htm")
+ self.assertEqual(str(c.url), "1623/115.url") # intentional
self.assertEqual(str(c.filename), "1623-115.html")
# c.area is a 'ManyRelatedManager' object and not iterable
@@ -135,7 +135,7 @@ class FixturePageTests(TestCase):
def test_fix_cave_url115(self):
ph = self.ph
- response = self.client.get('/1623/115.htm')
+ response = self.client.get('/1623/115.url') # yes this is intentional, see the inserted data above & fixture
self.assertEqual(response.status_code, 200)
content = response.content.decode()