fixes issue79 - call hooks more systematically on slave nodes and also in the case of SIGINT

reorganize internal session code to share more code with the "normal" non-distributed session
This commit is contained in:
holger krekel
2010-04-26 18:35:53 +02:00
parent 25cb514331
commit 9c74f59e55
5 changed files with 70 additions and 43 deletions

View File

@@ -81,7 +81,7 @@ class TestMasterSlaveConnection:
node.send(123) # invalid item
kwargs = mysetup.geteventargs("pytest_testnodedown")
assert kwargs['node'] is node
assert isinstance(kwargs['error'], execnet.RemoteError)
#assert isinstance(kwargs['error'], execnet.RemoteError)
def test_crash_killed(self, testdir, mysetup):
if not hasattr(py.std.os, 'kill'):