'>>> driver = DummyStorageDriver(\'key\', \'secret\')
>>> container = driver.create_container(
...   container_name=\'test container 1\')
... #doctest: +IGNORE_EXCEPTION_DETAIL
>>> obj = container.upload_object_via_stream(object_name=\'test object\',
...    iterator=DummyFileObject(5, 10), extra={})
>>> stream = container.download_object_as_stream(obj)
>>> stream #doctest: +ELLIPSIS
<...closed...>
@inherits: :class:`StorageDriver.download_object_as_stream`'

def download_object_as_stream(self, obj, chunk_size=None):

    return DummyFileObject()
