diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py index ed1d7a563..0c5bd373c 100755 --- a/tests/git_cl_test.py +++ b/tests/git_cl_test.py @@ -170,13 +170,13 @@ class TestGitCl(TestCase): ((['get_or_create_merge_base', 'master', 'master'],), 'fake_ancestor_sha'), ((['git', 'config', 'gerrit.host'],), ''), - ((['git', 'config', 'branch.master.rietveldissue'],), ''), ] + cls._git_sanity_checks('fake_ancestor_sha', 'master') + [ ((['git', 'rev-parse', '--show-cdup'],), ''), ((['git', 'rev-parse', 'HEAD'],), '12345'), ((['git', 'diff', '--name-status', '--no-renames', '-r', 'fake_ancestor_sha...', '.'],), 'M\t.gitignore\n'), + ((['git', 'config', 'branch.master.rietveldissue'],), ''), ((['git', 'config', 'branch.master.rietveldpatchset'],), ''), ((['git', 'log', '--pretty=format:%s%n%n%b',