[svn r38022] be a bit more verbose before rsync.
--HG-- branch : trunk
This commit is contained in:
@@ -162,7 +162,7 @@ class AbstractTestReporter(object):
|
||||
r = self.reporter(config, hosts)
|
||||
r.report(repevent.TestStarted(hosts, config.topdir, ["a", "b", "c"]))
|
||||
for host in hosts:
|
||||
r.report(repevent.HostRSyncRoots(host, ["a", "b", "c"]))
|
||||
r.report(repevent.HostGatewayReady(host, ["a", "b", "c"]))
|
||||
for host in hosts:
|
||||
for root in ["a", "b", "c"]:
|
||||
r.report(repevent.HostRSyncRootReady(host, root))
|
||||
|
||||
@@ -60,7 +60,7 @@ class TestRestUnits(object):
|
||||
def test_report_HostRSyncRootReady(self):
|
||||
h = HostInfo('localhost')
|
||||
reporter.hosts_to_rsync = 1
|
||||
reporter.report(repevent.HostRSyncRoots(h, ["a"]))
|
||||
reporter.report(repevent.HostGatewayReady(h, ["a"]))
|
||||
event = repevent.HostRSyncRootReady(h, "a")
|
||||
reporter.report(event)
|
||||
assert stdout.getvalue() == '::\n\n localhost: READY\n\n'
|
||||
|
||||
Reference in New Issue
Block a user