Skip to content

Commit

Permalink
update test to match behaviour of new code (bucket gets created)
Browse files Browse the repository at this point in the history
  • Loading branch information
reidsunderland authored and petersilva committed Feb 12, 2025
1 parent 31eb0df commit a5fd5ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/sarracenia/transfer/s3_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ def test_connect(build_client):
transfer.o.credentials._parse('s3://testing_simple_bucket_creds')
transfer.o.sendTo = 's3://testing_simple_bucket_creds'

assert transfer.connect() == False
# bucket that doesn't already exist will get created
assert transfer.connect() == True

transfer.o.sendTo = 's3://' + TEST_BUCKET_NAME
assert transfer.connect() == True
Expand Down

0 comments on commit a5fd5ed

Please sign in to comment.