Merge "Fix SSH forwarder cleanup"
This commit is contained in:
commit
5305fc49a2
@ -127,7 +127,7 @@ class SSHTunnelForwarderFixture(tobiko.SharedFixture):
|
||||
remote_bind_addresses=remote_bind_addresses)
|
||||
self.addCleanup(self.cleanup_forwarder)
|
||||
forwarder.start()
|
||||
self.ssh_client.addCleanup(self)
|
||||
self.ssh_client.addCleanup(self.cleanup_forwarder)
|
||||
return forwarder
|
||||
|
||||
def cleanup_forwarder(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user