parent
89a14afcbe
commit
3fa9cbe98d
|
@ -52,7 +52,8 @@ class TestRestUnits(object):
|
||||||
'localhost\n\n')
|
'localhost\n\n')
|
||||||
|
|
||||||
def test_report_HostRSyncing(self):
|
def test_report_HostRSyncing(self):
|
||||||
event = repevent.HostRSyncing(HostInfo('localhost:/foo/bar'))
|
event = repevent.HostRSyncing(HostInfo('localhost:/foo/bar'), "a",
|
||||||
|
"b")
|
||||||
reporter.report(event)
|
reporter.report(event)
|
||||||
assert stdout.getvalue() == ('::\n\n localhost: RSYNC ==> '
|
assert stdout.getvalue() == ('::\n\n localhost: RSYNC ==> '
|
||||||
'/foo/bar\n\n')
|
'/foo/bar\n\n')
|
||||||
|
|
Loading…
Reference in New Issue