renaming CSS files for clarity

This commit is contained in:
Philip Sargent
2021-04-15 12:34:51 +01:00
parent 38a63641bc
commit 3e50d0edca
5 changed files with 7 additions and 7 deletions

View File

@@ -289,13 +289,13 @@ class PageTests(TestCase):
def test_page_site_media_css(self):
# Flat file tests.
response = self.client.get('/site_media/css/main3.css')
response = self.client.get('/site_media/css/trog3.css')
if response.status_code != 200:
self.assertEqual(response.status_code, 302)
if response.status_code != 302:
self.assertEqual(response.status_code, 200)
content = response.content.decode() # need to check it is not just an error page
ph = r'This text is used by the test system to determine that main3.css loaded correctly'
ph = r'This text is used by the test system to determine that trog3.css loaded correctly'
phmatch = re.search(ph, content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")