| Index: tests/git_cl_test.py
|
| diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
|
| index cc5325821d5607721ca6a3e8cd61e8481bba3ccb..a30bf95ef4bcfbc91f4a07df94b1d8a34edbce98 100755
|
| --- a/tests/git_cl_test.py
|
| +++ b/tests/git_cl_test.py
|
| @@ -206,6 +206,7 @@ class TestGitCl(TestCase):
|
| ((['git', 'config', 'core.editor'],), ''),
|
| ] + cc_call + private_call + [
|
| ((['git', 'config', 'branch.master.base-url'],), ''),
|
| + ((['git', 'config', 'rietveld.pending-ref-prefix'],), ''),
|
| ((['git',
|
| 'config', '--local', '--get-regexp', '^svn-remote\\.'],),
|
| (('', None), 0)),
|
| @@ -252,14 +253,16 @@ class TestGitCl(TestCase):
|
| @classmethod
|
| def _dcommit_calls_1(cls):
|
| return [
|
| + ((['git', 'config', 'rietveld.autoupdate'],),
|
| + ''),
|
| + ((['git', 'config', 'rietveld.pending-ref-prefix'],),
|
| + ''),
|
| ((['git',
|
| 'config', '--local', '--get-regexp', '^svn-remote\\.'],),
|
| ((('svn-remote.svn.url svn://svn.chromium.org/chrome\n'
|
| 'svn-remote.svn.fetch trunk/src:refs/remotes/origin/master'),
|
| None),
|
| 0)),
|
| - ((['git', 'config', 'rietveld.autoupdate'],),
|
| - ''),
|
| ((['git',
|
| 'config', 'rietveld.server'],), 'codereview.example.com'),
|
| ((['git', 'symbolic-ref', 'HEAD'],), 'refs/heads/working'),
|
| @@ -689,6 +692,8 @@ class TestGitCl(TestCase):
|
| 'rietveld.cpplint-ignore-regex'],), ''),
|
| ((['git', 'config', '--unset-all',
|
| 'rietveld.project'],), ''),
|
| + ((['git', 'config', '--unset-all',
|
| + 'rietveld.pending-ref-prefix'],), ''),
|
| ((['git', 'config', 'gerrit.host',
|
| 'gerrit.chromium.org'],), ''),
|
| # DownloadHooks(False)
|
| @@ -774,6 +779,8 @@ class TestGitCl(TestCase):
|
| ''),
|
| ((['git', 'config', 'rietveld.private',],),
|
| ''),
|
| + ((['git', 'config', 'rietveld.pending-ref-prefix',],),
|
| + ''),
|
| ((['git', 'config', '--local', '--get-regexp', '^svn-remote\\.'],),
|
| ''),
|
| ((['git', 'config', 'rietveld.project',],),
|
|
|