Skip to content

Commit

Permalink
Fix broken test.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Nov 7, 2023
1 parent f0cb01b commit 1efe172
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test_opensearchpy/test_server/test_helpers/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,11 +510,7 @@ def test_scan_auth_kwargs_forwarded(self) -> None:
}
client_mock.clear_scroll.return_value = {}

data = list(
helpers.scan(
self.client, index="test_index", scroll_kwargs={key: val}
)
)
data = list(helpers.scan(self.client, index="test_index", **{key: val})) # type: ignore

self.assertEqual(data, [{"search_data": 1}])

Expand Down

0 comments on commit 1efe172

Please sign in to comment.