@@ -29,12 +29,17 @@ def file_size() -> ByteSize:
2929
3030@pytest .fixture
3131def mock_copy_transfer_cb () -> Callable [..., None ]:
32- def copy_transfer_cb (total_bytes_copied : int , * , file_name : str ) -> None :
33- ...
32+ def copy_transfer_cb (total_bytes_copied : int , * , file_name : str ) -> None : ...
3433
3534 return copy_transfer_cb
3635
3736
37+ @pytest .mark .parametrize (
38+ "location_id" ,
39+ [SimcoreS3DataManager .get_location_id ()],
40+ ids = [SimcoreS3DataManager .get_location_name ()],
41+ indirect = True ,
42+ )
3843async def test__copy_path_s3_s3 (
3944 simcore_s3_dsm : SimcoreS3DataManager ,
4045 create_directory_with_files : Callable [
@@ -103,6 +108,12 @@ async def _count_files(s3_file_id: SimcoreS3FileID, expected_count: int) -> None
103108 await _copy_s3_path (simcore_file_id )
104109
105110
111+ @pytest .mark .parametrize (
112+ "location_id" ,
113+ [SimcoreS3DataManager .get_location_id ()],
114+ ids = [SimcoreS3DataManager .get_location_name ()],
115+ indirect = True ,
116+ )
106117async def test_upload_and_search (
107118 simcore_s3_dsm : SimcoreS3DataManager ,
108119 upload_file : Callable [..., Awaitable [tuple [Path , SimcoreS3FileID ]]],
0 commit comments