예제 #1
0
def test_before_and_after(storage: object):

    assert storage.bucket_name

    manage.ensure_storage(storage)
    yield
    manage.drop_storage(storage, force=True)
예제 #2
0
def ensure_storage(alias: str):
    """Creates the storage if it do not exist"""
    manage.ensure_storage(storages.storage(alias))
예제 #3
0
def test_before_and_after(storage: object):
    manage.ensure_storage(storage)
    yield
    manage.drop_storage(storage, force=True)