diff --git a/test/conftest.py b/test/conftest.py index 3b5a596..1000563 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -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") diff --git a/test/unit_tests/rest/receiver_test.py b/test/unit_tests/rest/receiver_test.py index 35a6769..81caaa0 100644 --- a/test/unit_tests/rest/receiver_test.py +++ b/test/unit_tests/rest/receiver_test.py @@ -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))