mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 05:54:26 +01:00
fix(agent): Fix type issue in test_s3_file_storage.py
This commit is contained in:
@@ -23,7 +23,7 @@ def s3_root() -> Path:
|
||||
|
||||
|
||||
@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
|
||||
storage_config = S3FileStorageConfiguration.from_env()
|
||||
storage_config.root = s3_root
|
||||
|
||||
Reference in New Issue
Block a user