fix test login

This commit is contained in:
Cayo Puigdefabregas 2022-10-27 10:43:08 +02:00
parent 61f2507ead
commit 045b7b4f95
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def test_login(user: UserClient, app: Devicehub):
body, status, headers = client.get('/login/') body, status, headers = client.get('/login/')
body = next(body).decode("utf-8") body = next(body).decode("utf-8")
assert status == '200 OK' assert status == '200 OK'
assert "Login to Your Account" in body assert "Sign in" in body
data = { data = {
'email': user.email, 'email': user.email,