Skip to content

Commit

Permalink
Fixed unstable test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart van der Schoor committed Apr 12, 2024
1 parent 6b68d92 commit 86766ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/open_inwoner/accounts/tests/test_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def test_has_usable_email(self):
self.assertFalse(UserFactory(email="test@localhost").has_usable_email())
self.assertFalse(User.is_usable_email("test@localhost"))

actual = list(User.objects.having_usable_email())
self.assertEqual(actual, [user_ok1, user_ok2])
actual = set(User.objects.having_usable_email())
self.assertEqual(actual, {user_ok1, user_ok2})

def test_plan_contact_new_count_methods(self):
owner = UserFactory()
Expand Down

0 comments on commit 86766ae

Please sign in to comment.