diff --git a/tests/test_ACAuthenticator.py b/tests/test_ACAuthenticator.py index 0e6ff5b..98d9b3d 100644 --- a/tests/test_ACAuthenticator.py +++ b/tests/test_ACAuthenticator.py @@ -52,7 +52,7 @@ class TestACAuthenticator(TestCase): authenticator = ACAuthenticator(AC_LOGIN_BASE_URL) response = authenticator.login_with_check(email, password) - self.assertEquals(200, response.status_code) + self.assertEqual(200, response.status_code) res_data = response.json() self.assertEqual(1, res_data['is_ok']) user = res_data["user"] @@ -71,7 +71,7 @@ class TestACAuthenticator(TestCase): email = "collab@example.com" password = "VeryS3cret!" authenticator = ACAuthenticator(AC_LOGIN_BASE_URL) - response = authenticator.login_with_check(email, password) + authenticator.login_with_check(email, password) def test_login_failed_not_ok(self): with self.assertRaises(Exception) as exc: @@ -82,4 +82,4 @@ class TestACAuthenticator(TestCase): email = "collab@example.com" password = "VeryS3cret!" authenticator = ACAuthenticator(AC_LOGIN_BASE_URL) - response = authenticator.login_with_check(email, password) + authenticator.login_with_check(email, password)