app-MAIL-temp/tests/test_server.py
2019-12-15 18:55:09 +02:00

6 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"