diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_project.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): | |||
46 | templatedir = tempfile.mkdtemp(prefix='.test-template') | 46 | templatedir = tempfile.mkdtemp(prefix='.test-template') |
47 | with open(os.path.join(templatedir, 'HEAD'), 'w') as fp: | 47 | with open(os.path.join(templatedir, 'HEAD'), 'w') as fp: |
48 | fp.write('ref: refs/heads/main\n') | 48 | fp.write('ref: refs/heads/main\n') |
49 | cmd += ['--template=', templatedir] | 49 | cmd += ['--template', templatedir] |
50 | subprocess.check_call(cmd, cwd=tempdir) | 50 | subprocess.check_call(cmd, cwd=tempdir) |
51 | yield tempdir | 51 | yield tempdir |
52 | finally: | 52 | finally: |