@@ -17,7 +17,7 @@ def test_empty_catalog_list(api_client):
17
17
@pytest .mark .integration
18
18
def test_catalog_list_with_one_item (app , api_client ):
19
19
# arrange
20
- app .execute_command (
20
+ app .execute (
21
21
CreateListingDraftCommand (
22
22
listing_id = GenericUUID (int = 1 ),
23
23
title = "Foo" ,
@@ -50,7 +50,7 @@ def test_catalog_list_with_one_item(app, api_client):
50
50
@pytest .mark .integration
51
51
def test_catalog_list_with_two_items (app , api_client ):
52
52
# arrange
53
- app .execute_command (
53
+ app .execute (
54
54
CreateListingDraftCommand (
55
55
listing_id = GenericUUID (int = 1 ),
56
56
title = "Foo #1" ,
@@ -59,7 +59,7 @@ def test_catalog_list_with_two_items(app, api_client):
59
59
seller_id = GenericUUID (int = 2 ),
60
60
)
61
61
)
62
- app .execute_command (
62
+ app .execute (
63
63
CreateListingDraftCommand (
64
64
listing_id = GenericUUID (int = 2 ),
65
65
title = "Foo #2" ,
@@ -88,7 +88,7 @@ def test_catalog_create_draft_fails_due_to_incomplete_data(
88
88
@pytest .mark .integration
89
89
def test_catalog_delete_draft (app , authenticated_api_client ):
90
90
current_user = authenticated_api_client .current_user
91
- app .execute_command (
91
+ app .execute (
92
92
CreateListingDraftCommand (
93
93
listing_id = GenericUUID (int = 1 ),
94
94
title = "Listing to be deleted" ,
@@ -115,7 +115,7 @@ def test_catalog_publish_listing_draft(app, authenticated_api_client):
115
115
# arrange
116
116
current_user = authenticated_api_client .current_user
117
117
listing_id = GenericUUID (int = 1 )
118
- app .execute_command (
118
+ app .execute (
119
119
CreateListingDraftCommand (
120
120
listing_id = listing_id ,
121
121
title = "Listing to be published" ,
@@ -136,7 +136,7 @@ def test_published_listing_appears_in_biddings(app, authenticated_api_client):
136
136
# arrange
137
137
listing_id = GenericUUID (int = 1 )
138
138
current_user = authenticated_api_client .current_user
139
- app .execute_command (
139
+ app .execute (
140
140
CreateListingDraftCommand (
141
141
listing_id = listing_id ,
142
142
title = "Listing to be published" ,
@@ -145,7 +145,7 @@ def test_published_listing_appears_in_biddings(app, authenticated_api_client):
145
145
seller_id = current_user .id ,
146
146
)
147
147
)
148
- app .execute_command (
148
+ app .execute (
149
149
PublishListingDraftCommand (
150
150
listing_id = listing_id ,
151
151
seller_id = current_user .id ,
0 commit comments