File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
tests/unit/storage_clients Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 44import json
55from typing import TYPE_CHECKING
66
7- from crawlee import service_locator
87from crawlee ._consts import METADATA_FILENAME
98
109from apify import Actor , Configuration
11- from apify .storage_clients ._file_system import ApifyFileSystemKeyValueStoreClient , ApifyFileSystemStorageClient
10+ from apify .storage_clients ._file_system import ApifyFileSystemKeyValueStoreClient
1211
1312if TYPE_CHECKING :
1413 from pathlib import Path
@@ -76,7 +75,5 @@ async def test_pre_existing_input_used_by_actor(tmp_path: Path) -> None:
7675 path_to_input .mkdir (parents = True )
7776 (path_to_input / f'{ configuration .input_key } .json' ).write_text (json .dumps (pre_existing_input ))
7877
79- service_locator .set_storage_client (ApifyFileSystemStorageClient ())
80-
8178 async with Actor ():
8279 assert pre_existing_input == await Actor .get_input ()
You can’t perform that action at this time.
0 commit comments