remove unnecessary test
This commit is contained in:
parent
01fd880902
commit
b545ebaeb1
|
@ -20,16 +20,3 @@ def test_unactivated_user_login(flask_client):
|
||||||
b"Please check your inbox for the activation email. You can also have this email re-sent"
|
b"Please check your inbox for the activation email. You can also have this email re-sent"
|
||||||
in r.data
|
in r.data
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def test_activated_user_login(flask_client):
|
|
||||||
user = create_new_user()
|
|
||||||
|
|
||||||
r = flask_client.post(
|
|
||||||
url_for("auth.login"),
|
|
||||||
data={"email": user.email, "password": "password"},
|
|
||||||
follow_redirects=True,
|
|
||||||
)
|
|
||||||
|
|
||||||
assert r.status_code == 200
|
|
||||||
assert b"/auth/logout" in r.data
|
|
||||||
|
|
Loading…
Reference in a new issue