2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 22:57:11 +00:00

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

@@ -351,7 +351,7 @@ class ComplexLoginTests(TestCase):
content = response.content.decode()
# with open('admin-op.html', 'w') as f:
# f.write(content)
t = re.search(r'Troggle administration', content)
t = re.search(r'Troggle database administration', content)
self.assertIsNotNone(t, 'Logged in as \'' + u.username + '\' but failed to get the Troggle Admin page' )
def test_noinfo_login(self):