fix(agent): Fix type issue in test_s3_file_storage.py

This commit is contained in:
Reinier van der Leer
2024-03-22 17:09:31 +01:00
parent 262771a69c
commit 5f9cc585b1

View File

@@ -23,7 +23,7 @@ def s3_root() -> Path:
@pytest.fixture @pytest.fixture
def s3_storage_uninitialized(s3_bucket_name: str, s3_root: str) -> S3FileStorage: def s3_storage_uninitialized(s3_bucket_name: str, s3_root: Path) -> S3FileStorage:
os.environ["STORAGE_BUCKET"] = s3_bucket_name os.environ["STORAGE_BUCKET"] = s3_bucket_name
storage_config = S3FileStorageConfiguration.from_env() storage_config = S3FileStorageConfiguration.from_env()
storage_config.root = s3_root storage_config.root = s3_root