S3 should allow dashes in bucket names. Closes #5.
This commit is contained in:
parent
b03d48e6bc
commit
e55f26a07a
4 changed files with 10 additions and 4 deletions
|
|
@ -107,6 +107,12 @@ def test_missing_bucket():
|
|||
conn.get_bucket.when.called_with('mybucket').should.throw(S3ResponseError)
|
||||
|
||||
|
||||
@mock_s3
|
||||
def test_bucket_with_dash():
|
||||
conn = boto.connect_s3('the_key', 'the_secret')
|
||||
conn.get_bucket.when.called_with('mybucket-test').should.throw(S3ResponseError)
|
||||
|
||||
|
||||
@mock_s3
|
||||
def test_bucket_deletion():
|
||||
conn = boto.connect_s3('the_key', 'the_secret')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue