mirror of
https://github.com/simple-login/app.git
synced 2024-11-13 07:31:12 +01:00
6 lines
203 B
Python
6 lines
203 B
Python
def test_redirect_login_page(flask_client):
|
|
"""Start with a blank database."""
|
|
|
|
rv = flask_client.get("/")
|
|
assert rv.status_code == 302
|
|
assert rv.location == "http://sl.local/auth/login"
|