Fix mock restoration in git_cl_test
Fix mock restoration in git_cl_test

The assertion in TestGitCl.tearDown should be done after super.tearDown
is finished. Otherwise if the assertion fails, mocked objects won't be
restored properly, and the next TestCase would be affected.

Review URL: https://codereview.chromium.org/1093943002

git-svn-id: fd409f4bdeea2bb50a5d34bb4d4bfc2046a5a3dd@295049 0039d316-1c4b-4281-b951-d872f2087c98

disigma/depot_tools,azunite/chrome_build,chinmaygarde/depot_tools,chinmaygarde/depot_tools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,fracting/depot_tools,SuYiling/chrome_depot_tools,primiano/depot_tools,mlufei/depot_tools,Midrya/chromium,aleonliao/depot_tools,withtone/depot_tools,fracting/depot_tools,npe9/depot_tools,duongbaoduy/gtools,SuYiling/chrome_depot_tools,gcodetogit/depot_tools,kaiix/depot_tools,hsharsha/depot_tools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,hsharsha/depot_tools,duongbaoduy/gtools,mlufei/depot_tools,npe9/depot_tools,liaorubei/depot_tools,disigma/depot_tools,azunite/chrome_build,ajohnson23/depot_tools,disigma/depot_tools,primiano/depot_tools,CoherentLabs/depot_tools,duanwujie/depot_tools,Midrya/chromium,aleonliao/depot_tools,ajohnson23/depot_tools,withtone/depot_tools,gcodetogit/depot_tools,azureplus/chromium_depot_tools,aleonliao/depot_tools,kaiix/depot_tools,hsharsha/depot_tools,CoherentLabs/depot_tools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,withtone/depot_tools,SuYiling/chrome_depot_tools,fracting/depot_tools,primiano/depot_tools,npe9/depot_tools,liaorubei/depot_tools,gcodetogit/depot_tools,npe9/depot_tools,duanwujie/depot_tools,Midrya/chromium,azureplus/chromium_depot_tools,ajohnson23/depot_tools,kaiix/depot_tools,liaorubei/depot_tools,mlufei/depot_tools,azunite/chrome_build,azureplus/chromium_depot_tools,duongbaoduy/gtools,duanwujie/depot_tools,chinmaygarde/depot_tools,liaorubei/depot_tools