Skip to content

Commit a53c539

Browse files
committed
Updated test for GET method to include data dictionary
1 parent 34b5c7f commit a53c539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def woo_test_mock(*args, **kwargs):
7676

7777
with HTTMock(woo_test_mock):
7878
# call requests
79-
status = self.api.get("products").status_code
79+
status = self.api.get("products", {}).status_code
8080
self.assertEqual(status, 200)
8181

8282
def test_post(self):

0 commit comments

Comments
 (0)