merge
This commit is contained in:
parent
181b5539f6
commit
e51d1bfade
172 changed files with 49629 additions and 49629 deletions
|
|
@ -1,25 +1,25 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
import boto
|
||||
from boto.s3.connection import OrdinaryCallingFormat
|
||||
|
||||
from moto import mock_s3_deprecated
|
||||
|
||||
|
||||
def create_connection(key=None, secret=None):
|
||||
return boto.connect_s3(key, secret, calling_format=OrdinaryCallingFormat())
|
||||
|
||||
|
||||
def test_bucketpath_combo_serial():
|
||||
@mock_s3_deprecated
|
||||
def make_bucket_path():
|
||||
conn = create_connection()
|
||||
conn.create_bucket('mybucketpath')
|
||||
|
||||
@mock_s3_deprecated
|
||||
def make_bucket():
|
||||
conn = boto.connect_s3('the_key', 'the_secret')
|
||||
conn.create_bucket('mybucket')
|
||||
|
||||
make_bucket()
|
||||
make_bucket_path()
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import boto
|
||||
from boto.s3.connection import OrdinaryCallingFormat
|
||||
|
||||
from moto import mock_s3_deprecated
|
||||
|
||||
|
||||
def create_connection(key=None, secret=None):
|
||||
return boto.connect_s3(key, secret, calling_format=OrdinaryCallingFormat())
|
||||
|
||||
|
||||
def test_bucketpath_combo_serial():
|
||||
@mock_s3_deprecated
|
||||
def make_bucket_path():
|
||||
conn = create_connection()
|
||||
conn.create_bucket('mybucketpath')
|
||||
|
||||
@mock_s3_deprecated
|
||||
def make_bucket():
|
||||
conn = boto.connect_s3('the_key', 'the_secret')
|
||||
conn.create_bucket('mybucket')
|
||||
|
||||
make_bucket()
|
||||
make_bucket_path()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue