removed tests without much value that caused teardown problems with docker containers

This commit is contained in:
Matthias Bisping 2022-04-21 13:47:40 +02:00
parent b7ccbe20e3
commit 6f9d75bf49

View File

@ -2,9 +2,6 @@ import logging
import pytest
from pyinfra.storage.storage import Storage
from pyinfra.storage.storages import get_azure_storage, get_s3_storage
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
@ -46,11 +43,3 @@ class TestStorage:
storage.put_object(bucket_name, "file2", b"content 2")
full_names_received = storage.get_all_object_names(bucket_name)
assert {(bucket_name, "file1"), (bucket_name, "file2")} == {*full_names_received}
def test_get_azure_storage_yields_storage():
assert isinstance(get_azure_storage(), Storage)
def test_get_s3_storage_yields_storage():
assert isinstance(get_s3_storage(), Storage)