Browse Source

Address pycodestyle complaints with tests

merge-requests/1/head
Drew Short 7 years ago
parent
commit
3282608ef6
  1. 4
      server/tests/api/test_authentication_api.py

4
server/tests/api/test_authentication_api.py

@ -11,8 +11,8 @@ def test_bump_happy_path(auth: AuthActions):
auth.login() auth.login()
result = auth.bump() result = auth.bump()
assert result.status_code == 200 assert result.status_code == 200
assert result.json['last_login_time'] is not None \
and len(result.json['last_login_time']) > 0
assert (result.json['last_login_time'] is not None
and len(result.json['last_login_time']) > 0)
def test_logout_happy_path(auth: AuthActions): def test_logout_happy_path(auth: AuthActions):

Loading…
Cancel
Save