mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
update query counts
This commit is contained in:
@@ -500,7 +500,7 @@ def test_query_count_many_items(event, itemcount):
|
|||||||
recommendations=''' Price Discounted Price Max Count
|
recommendations=''' Price Discounted Price Max Count
|
||||||
Tickets Ticket 2 42.00 0.00 1
|
Tickets Ticket 2 42.00 0.00 1
|
||||||
''',
|
''',
|
||||||
expect_num_queries=13,
|
expect_num_queries=12,
|
||||||
)
|
)
|
||||||
check_cart_behaviour(
|
check_cart_behaviour(
|
||||||
event,
|
event,
|
||||||
@@ -516,7 +516,7 @@ def test_query_count_many_items(event, itemcount):
|
|||||||
recommendations=''' Price Discounted Price Max Count
|
recommendations=''' Price Discounted Price Max Count
|
||||||
Tickets Ticket 2 42.00 0.00 1
|
Tickets Ticket 2 42.00 0.00 1
|
||||||
''',
|
''',
|
||||||
expect_num_queries=13,
|
expect_num_queries=12,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -554,7 +554,7 @@ def test_query_count_many_categories_and_discounts(event, catcount):
|
|||||||
recommendations=''' Price Discounted Price Max Count
|
recommendations=''' Price Discounted Price Max Count
|
||||||
Category 1 Ticket 1-B 42.00 0.00 1
|
Category 1 Ticket 1-B 42.00 0.00 1
|
||||||
''',
|
''',
|
||||||
expect_num_queries=13,
|
expect_num_queries=12,
|
||||||
)
|
)
|
||||||
check_cart_behaviour(
|
check_cart_behaviour(
|
||||||
event,
|
event,
|
||||||
@@ -570,7 +570,7 @@ def test_query_count_many_categories_and_discounts(event, catcount):
|
|||||||
recommendations=''' Price Discounted Price Max Count
|
recommendations=''' Price Discounted Price Max Count
|
||||||
Category 1 Ticket 1-B 42.00 0.00 1
|
Category 1 Ticket 1-B 42.00 0.00 1
|
||||||
''',
|
''',
|
||||||
expect_num_queries=13,
|
expect_num_queries=12,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -608,7 +608,7 @@ def test_query_count_many_cartpos(event, catcount):
|
|||||||
recommendations=''' Price Discounted Price Max Count
|
recommendations=''' Price Discounted Price Max Count
|
||||||
Category 1 Ticket 1-B 42.00 0.00 1
|
Category 1 Ticket 1-B 42.00 0.00 1
|
||||||
''',
|
''',
|
||||||
expect_num_queries=13,
|
expect_num_queries=12,
|
||||||
)
|
)
|
||||||
check_cart_behaviour(
|
check_cart_behaviour(
|
||||||
event,
|
event,
|
||||||
@@ -630,5 +630,5 @@ def test_query_count_many_cartpos(event, catcount):
|
|||||||
Category 1 Ticket 1-B 42.00 0.00 1
|
Category 1 Ticket 1-B 42.00 0.00 1
|
||||||
Category 2 Ticket 2-B 42.00 0.00 1
|
Category 2 Ticket 2-B 42.00 0.00 1
|
||||||
''',
|
''',
|
||||||
expect_num_queries=18,
|
expect_num_queries=16,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user