mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
naming for tor-introducer fixture
This commit is contained in:
parent
8436acc87f
commit
926fa77ccb
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user