예제 #1
0
def setUpModule():
    if 'test_bucket' not in SHARED_BUCKETS:
        connection = regression_utils.get_storage_connection()
        # %d rounds milliseconds to nearest integer.
        bucket_name = 'new%d' % (1000 * time.time(),)
        # In the **very** rare case the bucket name is reserved, this
        # fails with a ConnectionError.
        SHARED_BUCKETS['test_bucket'] = connection.create_bucket(bucket_name)
예제 #2
0
def setUpModule():
    if 'test_bucket' not in SHARED_BUCKETS:
        connection = regression_utils.get_storage_connection()
        # %d rounds milliseconds to nearest integer.
        bucket_name = 'new%d' % (1000 * time.time(),)
        # In the **very** rare case the bucket name is reserved, this
        # fails with a ConnectionError.
        SHARED_BUCKETS['test_bucket'] = connection.create_bucket(bucket_name)
예제 #3
0
 def setUpClass(cls):
     cls.connection = regression_utils.get_storage_connection()
예제 #4
0
 def setUpClass(cls):
     cls.connection = regression_utils.get_storage_connection()