added logo

This commit is contained in:
2026-07-18 22:32:56 +02:00
parent 2d48e1dace
commit 1e87b5f385
7 changed files with 12 additions and 7 deletions
+8
View File
@@ -103,6 +103,14 @@ def test_bad_login_shows_error():
assert b"not correct" in response.data
def test_login_uses_wwwsuynl_logo():
response = client().get(url("/login"))
assert b'src="/fatima/static/wwwsuynl.png"' in response.data
assert b'href="/fatima/static/wwwsuynl.png"' in response.data
assert b'alt="www.suy.nl"' in response.data
def test_choice_is_saved_and_rendered():
test_client = client()
test_client.post(url("/login"), data={"username": "user", "password": "pass"})