diff --git a/lib/bindings/python/tests/conftest.py b/lib/bindings/python/tests/conftest.py index 9d5f33a932..ace292e75c 100644 --- a/lib/bindings/python/tests/conftest.py +++ b/lib/bindings/python/tests/conftest.py @@ -402,7 +402,7 @@ def temp_file_store(): yield tmpdir -@pytest.fixture(scope="function", autouse=False) +@pytest.fixture(scope="function", autouse=False, params=["tcp", "nats"]) async def runtime(request): """ Create a DistributedRuntime for testing. @@ -434,7 +434,8 @@ async def test_my_test(runtime): """ ) + request_plane = request.param loop = asyncio.get_running_loop() - runtime = DistributedRuntime(loop, "file", "nats") + runtime = DistributedRuntime(loop, "file", request_plane) yield runtime runtime.shutdown()