Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornet committed Dec 20, 2023
1 parent f226cb8 commit e488357
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ def test_s3_loader():
aws_region = "us-east-1"
bucket_name = f"ragstack-ci-{uuid.uuid4()}"

bucket = boto3.resource("s3", region_name=aws_region).Bucket(bucket_name)
bucket = boto3.resource("s3", region_name=aws_region).create_bucket(
Bucket=bucket_name
)

bucket.create()
s3_obj = bucket.Object("data.txt")

try:
Expand Down

0 comments on commit e488357

Please sign in to comment.