mirror of
https://github.com/simple-login/app.git
synced 2026-04-07 19:27:34 +00:00
10 lines
248 B
Python
10 lines
248 B
Python
from app.config import EMAIL_DOMAIN
|
|
|
|
|
|
def test_redirect_login_page(flask_client):
|
|
"""Start with a blank database."""
|
|
|
|
rv = flask_client.get("/")
|
|
assert rv.status_code == 302
|
|
assert rv.location == f"http://{EMAIL_DOMAIN}/auth/login"
|