changeset 1344:38be7a6b6def stable 1.8.2

tests: have our dispatch wrappers assert --quiet is always passed This should help avoid regressions in the "progress eats my testsuite dots" area.
author Augie Fackler <raf@durin42.com>
date Tue, 11 Aug 2015 16:52:38 -0400
parents e597714cb420
children 2fdf16f2d4dd
files tests/test_unaffected_core.py tests/test_util.py
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_unaffected_core.py
+++ b/tests/test_unaffected_core.py
@@ -11,6 +11,7 @@ from mercurial import node
 from mercurial import ui
 
 def _dispatch(ui, cmd):
+    assert '--quiet' in cmd
     try:
         req = dispatch.request(cmd, ui=ui)
         dispatch._dispatch(req)
--- 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)