Skip to content

Commit f7c9a58

Browse files
committed
Remove line that is no longer necessary
1 parent 14c5395 commit f7c9a58

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/unit/storage_clients/test_file_system.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
import json
55
from typing import TYPE_CHECKING
66

7-
from crawlee import service_locator
87
from crawlee._consts import METADATA_FILENAME
98

109
from apify import Actor, Configuration
11-
from apify.storage_clients._file_system import ApifyFileSystemKeyValueStoreClient, ApifyFileSystemStorageClient
10+
from apify.storage_clients._file_system import ApifyFileSystemKeyValueStoreClient
1211

1312
if 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()

0 commit comments

Comments
 (0)