forked from expo/troggle
consistent tests with logbooks junk removal
This commit is contained in:
@@ -204,7 +204,7 @@ class PageTests(TestCase):
|
||||
response = self.client.get('/admin/login/')
|
||||
content = response.content.decode()
|
||||
self.assertEqual(response.status_code, 200)
|
||||
ph = r'<h1 id="site-name">Troggle administration</h1>'
|
||||
ph = r'<h1 id="site-name">Troggle database administration</h1>'
|
||||
phmatch = re.search(ph, content)
|
||||
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user