forked from CGM_Public/pretix_original
Check-in: Ticket should not count as redeemed if only exits have been scanned so far
This commit is contained in:
@@ -336,6 +336,15 @@ def test_single_entry_forced_reentry(position, clist):
|
||||
assert position.order.all_logentries().count() == 2
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_exit_does_not_invalidate(position, clist):
|
||||
perform_checkin(position, clist, {}, type=Checkin.TYPE_EXIT)
|
||||
perform_checkin(position, clist, {})
|
||||
perform_checkin(position, clist, {}, type=Checkin.TYPE_EXIT)
|
||||
|
||||
assert position.checkins.count() == 3
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_multi_exit(position, clist):
|
||||
perform_checkin(position, clist, {})
|
||||
|
||||
Reference in New Issue
Block a user