diff tests/test_util.py @ 139:89a737852d33

utility_commands: Add tests for url and info. Fix a bad mock in the process.
author Augie Fackler <durin42@gmail.com>
date Thu, 11 Dec 2008 20:24:48 -0600
parents 40474f6c1f84
children 0c5f6420a8b5
line wrap: on
line diff
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -75,7 +75,7 @@ class MockUI(object):
         self.inner_ui = self.real_ui(parentui=parentui)
 
     def status(self, *args):
-        self.stream.write(*args)
+        self.stream.write(''.join(args))
 
     def warn(self, *args):
         self.stream.write(*args)