File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test_elasticsearch/test_dsl/test_integration Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ async def test_inner_hits_are_serialized_to_dict(
135135
136136@pytest .mark .anyio
137137async def test_scan_respects_doc_types (async_data_client : AsyncElasticsearch ) -> None :
138- repos = [repo async for repo in Repository .search ().source ( "organization" ). scan ()]
138+ repos = [repo async for repo in Repository .search ().scan ()]
139139
140140 assert 1 == len (repos )
141141 assert isinstance (repos [0 ], Repository )
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ def test_inner_hits_are_serialized_to_dict(
135135
136136@pytest .mark .sync
137137def test_scan_respects_doc_types (data_client : Elasticsearch ) -> None :
138- repos = [repo for repo in Repository .search ().source ( "organization" ). scan ()]
138+ repos = [repo for repo in Repository .search ().scan ()]
139139
140140 assert 1 == len (repos )
141141 assert isinstance (repos [0 ], Repository )
You can’t perform that action at this time.
0 commit comments