mirror of
https://github.com/simple-login/app.git
synced 2024-09-08 03:11:30 +02:00
7 lines
202 B
Python
7 lines
202 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.test/auth/login"
|