Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Commit a16c140

Browse files
committed
Merge remote-tracking branch 'upstream/ep2021' into ep2021
2 parents 5157858 + b7f47db commit a16c140

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

conference/fares.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@
2424
FARE_CODE_VARIANTS = Choices(
2525
("S", "STANDARD", "Standard"),
2626
("L", "LIGHT", "Standard Light (no trainings)"),
27-
("T", "TRAINING", "Trainings (ep2018+)"), # Starting with EP2018
28-
("C", "COMBINED", "Combined (ep2019+)"), # Starting with EP2019
29-
("P", "SPRINT", "Sprints only"), # Starting with EP2020
27+
("T", "TRAINING", "Trainings (ep2018+)"), # Starting with EP2018
28+
("C", "COMBINED", "Combined (ep2019+)"), # Starting with EP2019
29+
("P", "SPRINT", "Sprints only"), # Starting with EP2020
3030
("D", "DAYPASS", "Day Pass"),
31+
("V", "STREAM", "Stream only"), # Starting with EP2021
3132
)
3233

3334
# Variants eligible for talk voting

tests/test_cart.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ def test_cant_buy_any_tickets_if_fares_are_not_available(db, user_client):
154154
@mark.parametrize(
155155
"ticket_category, expected_ticket_types",
156156
[
157-
('personal', ['TRSP', 'TRLP', 'TRTP', 'TRCP', 'TRDP', 'TRPP']),
158-
('company', ['TRSC', 'TRLC', 'TRTC', 'TRCC', 'TRDC', 'TRPC']),
159-
('student', ['TRSS', 'TRLS', 'TRTS', 'TRCS', 'TRDS', 'TRPS']),
157+
('personal', ['TRSP', 'TRLP', 'TRTP', 'TRCP', 'TRDP', 'TRPP', 'TRVP']),
158+
('company', ['TRSC', 'TRLC', 'TRTC', 'TRCC', 'TRDC', 'TRPC', 'TRVC']),
159+
('student', ['TRSS', 'TRLS', 'TRTS', 'TRCS', 'TRDS', 'TRPS', 'TRVS']),
160160
('other', ['SIM1', 'VOUPE03']),
161161
],
162162
)

0 commit comments

Comments
 (0)