Mercurial > hgsubversion
diff tests/test_unaffected_core.py @ 1346:538bbb927609
Merge with stable.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 11 Aug 2015 17:07:59 -0400 |
parents | 38be7a6b6def |
children | 306187268f59 |
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) @@ -26,7 +27,7 @@ class TestMercurialCore(test_util.TestBa def test_update(self): ''' Test 'clone --updaterev' ''' ui = self.ui() - _dispatch(ui, ['init', self.wc_path]) + _dispatch(ui, ['init', '--quiet', self.wc_path]) repo = self.repo repo.ui.setconfig('ui', 'username', 'anonymous') @@ -46,8 +47,9 @@ class TestMercurialCore(test_util.TestBa self.assertEqual(test_util.repolen(repo), 3) updaterev = 1 - _dispatch(ui, ['clone', self.wc_path, self.wc_path + '2', - '--updaterev=%s' % updaterev]) + _dispatch(ui, ['clone', '--quiet', + self.wc_path, self.wc_path + '2', + '--updaterev=%s' % updaterev]) repo2 = hg.repository(ui, self.wc_path + '2') @@ -57,7 +59,7 @@ class TestMercurialCore(test_util.TestBa def test_branch(self): ''' Test 'clone --branch' ''' ui = self.ui() - _dispatch(ui, ['init', self.wc_path]) + _dispatch(ui, ['init', '--quiet', self.wc_path]) repo = self.repo repo.ui.setconfig('ui', 'username', 'anonymous') @@ -80,8 +82,10 @@ class TestMercurialCore(test_util.TestBa self.assertEqual(test_util.repolen(repo), 3) branch = 'B1' - _dispatch(ui, ['clone', self.wc_path, self.wc_path + '2', - '--branch', branch]) + _dispatch(ui, [ + 'clone', '--quiet', + self.wc_path, self.wc_path + '2', + '--branch', branch]) repo2 = hg.repository(ui, self.wc_path + '2')