Skip to content

Commit f95dba7

Browse files
Update tests/all/integration/api/helpers/test_auth.py
Co-Authored-By: Areeb Jamal <jamal.areeb@gmail.com> Co-Authored-By: Areeb Jamal <jamal.areeb@gmail.com>
1 parent 6cb7d3a commit f95dba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/all/integration/api/helpers/test_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ def test_check_auth_admin(self):
5454
user = create_user(email='authtest@gmail.com', password='password')
5555
user.is_admin = True
5656
status = auth_manager.check_auth_admin('authtest@gmail.com', 'password')
57-
self.assertEqual(status, True)
57+
self.assertEqual(True, status)
5858

5959
user = create_user(email='authtest2@gmail.com', password='password')
6060
user.is_admin = False
6161
status = auth_manager.check_auth_admin('authtest2@gmail.com', 'password')
62-
self.assertEqual(status, False)
62+
self.assertEqual(False, status)
6363

6464

6565
if __name__ == '__main__':

0 commit comments

Comments
 (0)