Skip to content

Commit

Permalink
test: replace "limit" param with "size" in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brendancsmith committed Apr 26, 2024
1 parent ae661db commit 402e805
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/unit/clients/test_enhance_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async def test_mocked_enhance(self, mocker, client):
# ARRANGE

# Define the search query parameters
params = {"query": "your_search_query", "limit": 10}
params = {"query": "your_search_query", "size": 10}

# Mock the _post_or_put method
mocker.patch.object(
Expand All @@ -43,7 +43,7 @@ async def test_mocked_create_bulkjob(self, mocker, client):
# ARRANGE

# Define the search query parameters
params = {"query": "your_bulk_enhance_query", "limit": 10}
params = {"query": "your_bulk_enhance_query", "size": 10}

# Mock the _post_or_put method
mocker.patch.object(
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/clients/test_search_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async def test_mocked_search(self, mocker, client):
# ARRANGE

# Define the search query parameters
params = {"query": "your_search_query", "limit": 10}
params = {"query": "your_search_query", "size": 10}

# Mock the _post_or_put method
mocker.patch.object(
Expand Down

0 comments on commit 402e805

Please sign in to comment.