mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Fix test_checkoutflow
This commit is contained in:
@@ -94,8 +94,9 @@ def test_step_ignored(event, mocker, req_with_session):
|
||||
|
||||
flow = with_mocked_step(mocker, MockingStep, event)
|
||||
req_with_session.event = event
|
||||
assert flow[1].get_next_applicable(req_with_session) is flow[3]
|
||||
assert flow[1] is flow[3].get_prev_applicable(req_with_session)
|
||||
assert flow[1].get_next_applicable(req_with_session) is flow[4]
|
||||
# flow[3] is also skipped because no payment is required if there is no cart
|
||||
assert flow[1] is flow[4].get_prev_applicable(req_with_session)
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
|
||||
Reference in New Issue
Block a user