def create_store(): blob_client = asb.BlockBlobService(is_emulated=True) blob_client.delete_container('test') blob_client.create_container('test') store = ABSStore(container='test', prefix='zarrtesting/', account_name='foo', account_key='bar', blob_service_kwargs={'is_emulated': True}) store.rmdir() return store, None
def create_store(): asb = pytest.importorskip("azure.storage.blob") blob_client = asb.BlockBlobService(is_emulated=True) blob_client.delete_container('test') blob_client.create_container('test') store = ABSStore(container='test', account_name='foo', account_key='bar', blob_service_kwargs={'is_emulated': True}) store.rmdir() return store, None
def create_store(): container_client = abs_container() store = ABSStore(client=container_client) store.rmdir() return store, None