naming for tor-introducer fixture

This commit is contained in:
meejah 2019-08-10 13:53:09 -06:00
parent 8436acc87f
commit 926fa77ccb

View File

@ -270,7 +270,7 @@ log_gatherer.furl = {log_furl}
# but on linux it means daemonize. "tahoe run" is consistent # but on linux it means daemonize. "tahoe run" is consistent
# between platforms. # between platforms.
protocol = _MagicTextProtocol('introducer running') protocol = _MagicTextProtocol('introducer running')
process = _tahoe_runner_optional_coverage( transport = _tahoe_runner_optional_coverage(
protocol, protocol,
reactor, reactor,
request, request,
@ -282,8 +282,8 @@ log_gatherer.furl = {log_furl}
def cleanup(): def cleanup():
try: try:
process.transport.signalProcess('TERM') transport.signalProcess('TERM')
pytest_twisted.blockon(process.transport.exited) pytest_twisted.blockon(transport.exited)
except ProcessExitedAlready: except ProcessExitedAlready:
pass pass
request.addfinalizer(cleanup) request.addfinalizer(cleanup)