Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Situphen committed Sep 21, 2024
1 parent da670d7 commit bc84589
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zds/member/api/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ def test_search_with_results_in_right_order(self):
"""
for username in ("andr", "Radon", "alexandre", "MisterAndrew", "andré", "Andr", "dragon", "Andromède"):
try: # in case this username has already been used by another test
Profile.objects.get(user__username=username)
p = Profile.objects.get(user__username=username)
print(p.__dict__.items())
except Profile.DoesNotExist:
ProfileFactory(user__username=username)

Expand Down

0 comments on commit bc84589

Please sign in to comment.