Commit e7ae514a authored by Andrii Shyshkalov's avatar Andrii Shyshkalov Committed by Commit Bot

git_cl: fix test.

R=ehmaldonado

Change-Id: Ia5c5d5fffdace2ce18fb0b2e5535370b9619dde4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1846771
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Auto-Submit: Andrii Shyshkalov <tandrii@google.com>
Reviewed-by: 's avatarEdward Lesmes <ehmaldonado@chromium.org>
parent 6f661161
......@@ -3321,7 +3321,9 @@ class CMDUploadTestCase(unittest.TestCase):
_constantFn('https://chromium-review.googlesource.com')).start()
mock.patch('git_cl.Changelist.GetMostRecentPatchset',
_constantFn(7)).start()
mock.patch('git_cl.auth.get_authenticator_for_host', AuthenticatorMock())
mock.patch('git_cl.auth.get_authenticator_for_host',
AuthenticatorMock()).start()
mock.patch('git_common.is_dirty_git_tree', return_value=False).start()
self.addCleanup(mock.patch.stopall)
@mock.patch('git_cl.fetch_try_jobs')
......
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