diff tests/test_util.py @ 1346:538bbb927609

Merge with stable.
author Augie Fackler <raf@durin42.com>
date Tue, 11 Aug 2015 17:07:59 -0400
parents 38be7a6b6def
children 3c213ca49f7e
line wrap: on
line diff
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -290,6 +290,7 @@ def testui(stupid=False, layout='auto', 
     return u
 
 def dispatch(cmd):
+    assert '--quiet' in cmd
     cmd = getattr(dispatchmod, 'request', lambda x: x)(cmd)
     return dispatchmod.dispatch(cmd)
 
@@ -567,6 +568,7 @@ class TestBase(unittest.TestCase):
 
         cmd = [
             'clone',
+            '--quiet',
             '--layout=%s' % layout,
             '--startrev=%s' % startrev,
             fileurl(projectpath),
@@ -746,7 +748,7 @@ class TestBase(unittest.TestCase):
         useful when debugging comprehensive tests.
         """
         # Could be more elegant, but it works with stock hg
-        _ui = ui.ui()
+        _ui = testui()
         _ui.setconfig('extensions', 'graphlog', '')
         extensions.loadall(_ui)
         graphlog = extensions.find('graphlog')