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 4
4
import json
5
5
from typing import TYPE_CHECKING
6
6
7
- from crawlee import service_locator
8
7
from crawlee ._consts import METADATA_FILENAME
9
8
10
9
from apify import Actor , Configuration
11
- from apify .storage_clients ._file_system import ApifyFileSystemKeyValueStoreClient , ApifyFileSystemStorageClient
10
+ from apify .storage_clients ._file_system import ApifyFileSystemKeyValueStoreClient
12
11
13
12
if TYPE_CHECKING :
14
13
from pathlib import Path
@@ -76,7 +75,5 @@ async def test_pre_existing_input_used_by_actor(tmp_path: Path) -> None:
76
75
path_to_input .mkdir (parents = True )
77
76
(path_to_input / f'{ configuration .input_key } .json' ).write_text (json .dumps (pre_existing_input ))
78
77
79
- service_locator .set_storage_client (ApifyFileSystemStorageClient ())
80
-
81
78
async with Actor ():
82
79
assert pre_existing_input == await Actor .get_input ()
You can’t perform that action at this time.
0 commit comments