Skip to content

Commit

Permalink
fix: coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Noyan Aziz authored and Muhammad Noyan Aziz committed Nov 27, 2024
1 parent f653ed8 commit 959a1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commerce_coordinator/apps/commercetools/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def is_first_time_discount_eligible(self, email: str) -> bool:
return False

return True
except CommercetoolsError as err:
except CommercetoolsError as err: # pragma no cover
# Logs & ignores version conflict errors due to duplicate Commercetools messages
handle_commercetools_error(err, f"Unable to check if user {email} is eligible for a "
f"first time discount", True)
Expand Down

0 comments on commit 959a1cf

Please sign in to comment.