

def test_download_object_as_stream(self):
    container = Container(name='foo_bar_container', extra={
        
    }, driver=self.driver)
    obj = Object(name='foo_bar_object', size=1000, hash=None, extra={
        
    }, container=container, meta_data=None, driver=self.driver)
    stream = self.driver.download_object_as_stream(obj=obj, chunk_size=None)
    self.assertTrue(hasattr(stream, '__iter__'))

dataset/ETHPy150Open apache/libcloud/libcloud/test/storage/test_atmos.py AtmosTests.test_download_object_as_stream/original