Commit 8da412cf authored by tandrii's avatar tandrii Committed by Commit bot

Remove redundant output in git_cl.py tests.

R=agable@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2319903002
parent 925b910a
......@@ -1957,7 +1957,10 @@ class TestGitCl(TestCase):
'current_revision': 'deadbeaf',
}
cl._codereview_impl.SubmitIssue = lambda wait_for_merge: None
out = StringIO.StringIO()
self.mock(sys, 'stdout', out)
self.assertEqual(0, cl.CMDLand(force=True, bypass_hooks=True, verbose=True))
self.assertRegexpMatches(out.getvalue(), 'Issue.*123 has been submitted')
if __name__ == '__main__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment