Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
introkun committed Mar 26, 2024
1 parent 34fbaea commit fac80da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/nut_users_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ def test_user_set_is_admin(self):

def test_user_get_require_auth(self):
user = Users.User()
self.assertIs(user.getRequireAuth(), 'True', 'All users require Auth by default')
self.assertIs(user.getRequireAuth(), str(True), 'All users require Auth by default')
user.setRequireAuth(False)
self.assertIs(user.getRequireAuth(), 'False')
self.assertIs(user.getRequireAuth(), str(False))

if __name__ == "__main__":
unittest.main()

0 comments on commit fac80da

Please sign in to comment.