Browse Source

[REF] 'auth_admin_passkey': flake8.

pull/4/head
Sylvain LE GAL 11 years ago
parent
commit
17dee822dd
  1. 2
      auth_admin_passkey/tests/test_auth_admin_passkey.py

2
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'""" Test the correct behaviour of login with 'bad_login' / 'admin'"""
exception_raised = False exception_raised = False
try: try:
res = self.ru_obj.authenticate(self.db, 'bad_login', 'admin', {})
self.ru_obj.authenticate(self.db, 'bad_login', 'admin', {})
except: except:
exception_raised = True exception_raised = True
self.assertEqual( self.assertEqual(

Loading…
Cancel
Save