refactoring / formatting
This commit is contained in:
parent
98af600787
commit
3ae4fd8986
@ -31,7 +31,7 @@ pytest_plugins = [
|
||||
]
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
@pytest.fixture(autouse=False)
|
||||
def mute_logger():
|
||||
logger.setLevel(logging.CRITICAL + 1)
|
||||
|
||||
@ -68,8 +68,8 @@ def mock_make_load_data():
|
||||
return load_data
|
||||
|
||||
|
||||
def pytest_make_parametrize_id(config, val, argname):
|
||||
return f"\n\t{argname}={val}\n"
|
||||
# def pytest_make_parametrize_id(config, val, argname):
|
||||
# return f"\n\t{argname}={val}\n"
|
||||
|
||||
|
||||
@pytest.fixture(params=["minio", "aws"], scope="session")
|
||||
|
||||
@ -5,5 +5,5 @@ from pyinfra.server.receiver.receivers.rest import RestReceiver
|
||||
def test_rest_receiver(endpoint, packages, server_process):
|
||||
dispatcher = RestDispatcher(endpoint)
|
||||
receiver = RestReceiver()
|
||||
output = list(receiver(dispatcher(packages)))
|
||||
output = receiver(dispatcher(packages))
|
||||
assert all((isinstance(o, str) for o in output))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user