Skip to content

Commit

Permalink
Enable auto_mkdir only for local filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
sultaniman committed Apr 8, 2024
1 parent e41732b commit 44cfe5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/load/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 44cfe5e

Please sign in to comment.