consistent tests with logbooks junk removal

This commit is contained in:
2023-01-16 19:52:05 +00:00
parent 822965ebe5
commit 1b70ccea3e
4 changed files with 6 additions and 5 deletions

View File

@@ -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 +"'")