From b8bf291ddbe00731d441a34cbf1ec5b5f95f401b Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Mon, 12 Apr 2021 23:25:55 +0200 Subject: [PATCH] tests: Make ReviewableBranchTests.test_smoke work with git < 2.28.0 Bug: https://crbug.com/gerrit/14380 Change-Id: Id015bd98b008e1530ada2c7e4332c67e8e208e25 Signed-off-by: Peter Kjellerstedt Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/303325 Reviewed-by: Mike Frysinger --- tests/test_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_project.py b/tests/test_project.py index 7dfbabb3..9b2cc4e9 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -46,7 +46,7 @@ def TempGitTree(): templatedir = tempfile.mkdtemp(prefix='.test-template') with open(os.path.join(templatedir, 'HEAD'), 'w') as fp: fp.write('ref: refs/heads/main\n') - cmd += ['--template=', templatedir] + cmd += ['--template', templatedir] subprocess.check_call(cmd, cwd=tempdir) yield tempdir finally: