Skip to content

Commit

Permalink
revert changes to test_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
carmen-chau committed Jan 14, 2024
1 parent 9194b0c commit 4ee7c34
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions hackathon_site/event/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,7 @@ def test_cannot_leave_with_order(self):
for _, status_choice in Order.STATUS_CHOICES:
order.status = status_choice
order.save()
if status_choice not in (
"Cancelled",
"Returned",
"Packing",
): # TODO: Added the "Packing" status here
if status_choice not in ("Cancelled", "Returned"):
self.check_cannot_leave_active()
else:
self.check_can_leave_cancelled_or_returned()
Expand Down

0 comments on commit 4ee7c34

Please sign in to comment.