added logo
This commit is contained in:
@@ -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"})
|
||||
|
||||
Reference in New Issue
Block a user