

def __init__(self, *args, **kwargs):
    unittest.TestCase.__init__(self)
    if (kwargs.get('host', None) and kwargs.get('port', None)):
        StorageMockHttp.__init__(self, *args, **kwargs)
    self._upload_object_via_stream_first_request = True

dataset/ETHPy150Open apache/libcloud/libcloud/test/storage/test_atmos.py AtmosMockHttp.__init__/original