Skip to content

Commit

Permalink
fix python test
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith committed Feb 7, 2024
1 parent 6a52dce commit 02d68c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions py/server/tests/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,17 +558,17 @@ def test_read_parquet_from_s3(self):

# Fails since we have a negative read_ahead_count
with self.assertRaises(DHError):
s3.S3Instructions(aws_region_name="us-east-1",
s3.S3Instructions(region_name="us-east-1",
read_ahead_count=-1,
)

# Fails since we provide the key without the secret key
with self.assertRaises(DHError):
s3.S3Instructions(aws_region_name="us-east-1",
aws_access_key_id="Some key without secret",
s3.S3Instructions(region_name="us-east-1",
access_key_id="Some key without secret",
)

s3_instructions = s3.S3Instructions(aws_region_name="us-east-1",
s3_instructions = s3.S3Instructions(region_name="us-east-1",
read_ahead_count=1,
)
# Fails because we don't have the right credentials
Expand Down

0 comments on commit 02d68c4

Please sign in to comment.