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: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295049 0039d316-1c4b-4281-b951-d872f2087c98changes/01/332501/1
parent
7676cca756
commit
445c896d9f
Loading…
Reference in New Issue