From 17dee822dde3ecaaf6d9ad50f69ac48a4158a823 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Thu, 3 Jul 2014 12:24:20 +0200 Subject: [PATCH] [REF] 'auth_admin_passkey': flake8. --- auth_admin_passkey/tests/test_auth_admin_passkey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth_admin_passkey/tests/test_auth_admin_passkey.py b/auth_admin_passkey/tests/test_auth_admin_passkey.py index 347fb5871..2ce02d26c 100644 --- a/auth_admin_passkey/tests/test_auth_admin_passkey.py +++ b/auth_admin_passkey/tests/test_auth_admin_passkey.py @@ -91,7 +91,7 @@ class TestAuthAdminPasskey(TransactionCase): Test the correct behaviour of login with 'bad_login' / 'admin'""" exception_raised = False try: - res = self.ru_obj.authenticate(self.db, 'bad_login', 'admin', {}) + self.ru_obj.authenticate(self.db, 'bad_login', 'admin', {}) except: exception_raised = True self.assertEqual(