From 3282608ef6319a60dea10f52efe8c6369158e50c Mon Sep 17 00:00:00 2001 From: Drew Short Date: Wed, 4 Jul 2018 20:09:44 -0500 Subject: [PATCH] Address pycodestyle complaints with tests --- server/tests/api/test_authentication_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/tests/api/test_authentication_api.py b/server/tests/api/test_authentication_api.py index 177bf9d..d95f7e2 100644 --- a/server/tests/api/test_authentication_api.py +++ b/server/tests/api/test_authentication_api.py @@ -11,8 +11,8 @@ def test_bump_happy_path(auth: AuthActions): auth.login() result = auth.bump() 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):