Skip to content

Commit

Permalink
Fix parallel runtime test
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusconjeaud committed Dec 13, 2024
1 parent 804ee44 commit 72d8029
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/async_/test_match_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ async def test_async_iterator():


def assert_last_query_startswith(mock_func, query) -> bool:
return mock_func.call_args_list[-1].args[0].startswith(query)
return mock_func.call_args_list[-1].kwargs["query"].startswith(query)


@mark_async_test
Expand Down
2 changes: 1 addition & 1 deletion test/sync_/test_match_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ def test_async_iterator():


def assert_last_query_startswith(mock_func, query) -> bool:
return mock_func.call_args_list[-1].args[0].startswith(query)
return mock_func.call_args_list[-1].kwargs["query"].startswith(query)


@mark_sync_test
Expand Down

0 comments on commit 72d8029

Please sign in to comment.