| Index: tests/git_cl_test.py
|
| ===================================================================
|
| --- tests/git_cl_test.py (revision 169567)
|
| +++ tests/git_cl_test.py (working copy)
|
| @@ -125,7 +125,6 @@
|
| '-M'+similarity, 'fake_ancestor_sha'],), '+dat')
|
|
|
| return [
|
| - ((['git', 'config', 'gerrit.host'],), ''),
|
| ((['git', 'config', 'rietveld.server'],), 'codereview.example.com'),
|
| ((['git', 'symbolic-ref', 'HEAD'],), 'master'),
|
| similarity_call,
|
| @@ -148,6 +147,7 @@
|
| 'foo'),
|
| ((['git', 'config', 'user.email'],), 'me@example.com'),
|
| stat_call,
|
| + ((['git', 'config', 'gerrit.host'],), ''),
|
| ((['git', 'log', '--pretty=format:%s\n\n%b', 'fake_ancestor_sha..'],),
|
| 'desc\n'),
|
| ]
|
| @@ -432,7 +432,6 @@
|
| @classmethod
|
| def _gerrit_base_calls(cls):
|
| return [
|
| - ((['git', 'config', 'gerrit.host'],), 'gerrit.example.com'),
|
| ((['git', 'config', 'rietveld.server'],), 'codereview.example.com'),
|
| ((['git', 'symbolic-ref', 'HEAD'],), 'master'),
|
| ((['git', 'config', '--int', '--get',
|
| @@ -464,6 +463,7 @@
|
| @staticmethod
|
| def _gerrit_upload_calls(description, reviewers):
|
| calls = [
|
| + ((['git', 'config', 'gerrit.host'],), 'gerrit.example.com'),
|
| ((['git', 'log', '--pretty=format:%s\n\n%b', 'fake_ancestor_sha..'],),
|
| description)
|
| ]
|
|
|