Add S3 location response. Closes #279.
This commit is contained in:
parent
a2e56afef8
commit
4ab3b318eb
3 changed files with 23 additions and 4 deletions
|
|
@ -685,3 +685,10 @@ def test_setting_content_encoding():
|
|||
|
||||
key = bucket.get_key("keyname")
|
||||
key.content_encoding.should.equal("gzip")
|
||||
|
||||
|
||||
@mock_s3
|
||||
def test_bucket_location():
|
||||
conn = boto.s3.connect_to_region("us-west-2")
|
||||
bucket = conn.create_bucket('mybucket')
|
||||
bucket.get_location().should.equal("us-west-2")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue