Upload form for Photos

This commit is contained in:
Philip Sargent
2022-03-13 01:01:00 +00:00
parent f99ebf84e9
commit b65639df05
6 changed files with 236 additions and 8 deletions

View File

@@ -153,7 +153,7 @@ class PageTests(TestCase):
def test_expoweb_via_areaid(self):
# the dispatcher takes a detour via the cave renering procedure for this
response = self.client.get('/1623/others/t/via201.jpg')
response = self.client.get('/guidebook/t/via201.jpg')
self.assertEqual(response.status_code, 200)
self.assertEqual(len(response.content), 6057)
@@ -175,7 +175,6 @@ class PageTests(TestCase):
phmatch = re.search(ph, content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
def test_page_admin(self):
# see the login page
response = self.client.get('/admin/login/')