summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 57c15ba..0b9cb3c 100644
--- a/core/TESTS/tests.py
+++ b/core/TESTS/tests.py
@@ -318,8 +318,8 @@ class PageTests(TestCase):
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'")
def test_page_expofile_documents(self):
- # this gets an empty page as the database has not been loaded
- response = self.client.get("/expofiles/documents")
+ # this gets a real page as it is looking at the filesystem
+ response = self.client.get("/expofiles/documents/ropes")
if response.status_code != HTTPStatus.OK:
self.assertEqual(response.status_code, HTTPStatus.FOUND)
if response.status_code != HTTPStatus.FOUND:
@@ -330,8 +330,8 @@ class PageTests(TestCase):
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'")
def test_page_expofile_documents_slash(self):
- # this gets an empty page as the database has not been loaded
- response = self.client.get("/expofiles/documents/")
+ # this gets a real page as it is looking at the filesystem
+ response = self.client.get("/expofiles/documents/ropes/")
if response.status_code != HTTPStatus.OK:
self.assertEqual(response.status_code, HTTPStatus.FOUND)
if response.status_code != HTTPStatus.FOUND: