diff --git a/integration/conftest.py b/integration/conftest.py index 294971147..10927f358 100644 --- a/integration/conftest.py +++ b/integration/conftest.py @@ -34,6 +34,7 @@ from util import ( _cleanup_tahoe_process, _tahoe_runner_optional_coverage, await_client_ready, + TahoeProcess, ) @@ -202,7 +203,7 @@ log_gatherer.furl = {log_furl} # but on linux it means daemonize. "tahoe run" is consistent # between platforms. protocol = _MagicTextProtocol('introducer running') - process = _tahoe_runner_optional_coverage( + transport = _tahoe_runner_optional_coverage( protocol, reactor, request, @@ -211,10 +212,10 @@ log_gatherer.furl = {log_furl} intro_dir, ), ) - request.addfinalizer(partial(_cleanup_tahoe_process, process, protocol.exited)) + request.addfinalizer(partial(_cleanup_tahoe_process, transport, protocol.exited)) pytest_twisted.blockon(protocol.magic_seen) - return process + return TahoeProcess(transport, intro_dir) @pytest.fixture(scope='session')