@@ -12,7 +12,7 @@ def test_purchase_places_success(client, setup_data):
12
12
assert response .status_code == 302
13
13
assert int (competitions [0 ]['numberOfPlaces' ]) == 15
14
14
15
- def test_purchase_places_not_enough_places (client , setup_data ):
15
+ def test_cant_purchase_places_not_enough_places (client , setup_data ):
16
16
#TEST cant buy if not enough places
17
17
competitions , _ = setup_data
18
18
response = client .post ('/purchasePlaces' , data = {
@@ -25,7 +25,7 @@ def test_purchase_places_not_enough_places(client, setup_data):
25
25
assert b"Not enough places available." in response .data
26
26
assert int (competitions [1 ]['numberOfPlaces' ]) == 5
27
27
28
- def test_purchase_places_more_than_12 (client , setup_data ):
28
+ def test_cant_purchase_places_more_than_12 (client , setup_data ):
29
29
#TEST cant buy more than 12 places
30
30
competitions , _ = setup_data
31
31
response = client .post ('/purchasePlaces' , data = {
@@ -39,7 +39,7 @@ def test_purchase_places_more_than_12(client, setup_data):
39
39
assert b"You cannot book more than 12 places per competition." in response .data
40
40
41
41
42
- def test_purchase_places_not_enough_points (client , setup_data ):
42
+ def test_cant_purchase_places_not_enough_points (client , setup_data ):
43
43
# TEST cant buy if not enough points
44
44
_ , clubs = setup_data
45
45
response = client .post ('/purchasePlaces' , data = {
0 commit comments