S3 should allow dashes in bucket names. Closes #5.

This commit is contained in:
Steve Pulec 2013-03-23 09:57:20 -04:00
commit e55f26a07a
4 changed files with 10 additions and 4 deletions

View file

@ -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')