[svn r38039] Fix a test

--HG--
branch : trunk
This commit is contained in:
fijal 2007-02-07 00:00:24 +01:00
parent 89a14afcbe
commit 3fa9cbe98d
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ class TestRestUnits(object):
'localhost\n\n')
def test_report_HostRSyncing(self):
event = repevent.HostRSyncing(HostInfo('localhost:/foo/bar'))
event = repevent.HostRSyncing(HostInfo('localhost:/foo/bar'), "a",
"b")
reporter.report(event)
assert stdout.getvalue() == ('::\n\n localhost: RSYNC ==> '
'/foo/bar\n\n')