[svn r37946] setup/teardown hosts correspond

--HG--
branch : trunk
This commit is contained in:
hpk
2007-02-05 01:23:14 +01:00
parent c93cfc1e2b
commit 0b9b0909bf
3 changed files with 8 additions and 12 deletions

View File

@@ -122,7 +122,7 @@ class TestRSessionRemote(DirSetup):
tmpdir = py.test.ensuretemp("emptyconftest")
config = py.test.config._reparse([tmpdir])
hm = HostManager(config, hosts)
nodes = hm.init_hosts(setup_events.append)
nodes = hm.setup_hosts(setup_events.append)
hm.teardown_hosts(teardown_events.append,
[node.channel for node in nodes], nodes)
@@ -147,7 +147,7 @@ class TestRSessionRemote(DirSetup):
config = py.test.config._reparse([])
hm = HostManager(config, hosts=hosts)
nodes = hm.init_hosts(allevents.append)
nodes = hm.setup_hosts(allevents.append)
from py.__.test.rsession.testing.test_executor \
import ItemTestPassing, ItemTestFailing, ItemTestSkipping