diff --git a/tests/load/conftest.py b/tests/load/conftest.py index f3ac03fce4..be41941f80 100644 --- a/tests/load/conftest.py +++ b/tests/load/conftest.py @@ -10,7 +10,8 @@ def default_buckets_env(request) -> Iterator[str]: """Parametrized fixture to configure filesystem destination bucket in env for each test bucket""" os.environ["DESTINATION__FILESYSTEM__BUCKET_URL"] = request.param - os.environ["DESTINATION__FILESYSTEM__KWARGS"] = '{"auto_mkdir": true}' + if request.param.startswith("file://"): + os.environ["DESTINATION__FILESYSTEM__KWARGS"] = '{"auto_mkdir": true}' yield request.param