Index: unittests/repo_test_util.py |
diff --git a/unittests/repo_test_util.py b/unittests/repo_test_util.py |
index 250f4331c7a43eb84dc915afc9ffc0f2c4bd6f24..876c2d9719dec4ede38ac715404854864d1fcb35 100644 |
--- a/unittests/repo_test_util.py |
+++ b/unittests/repo_test_util.py |
@@ -81,6 +81,7 @@ class RepoTest(unittest.TestCase): |
os.mkdir(repo_dir) |
with in_directory(repo_dir): |
subprocess.check_output(['git', 'init']) |
+ subprocess.check_output(['git', 'remote', 'add', 'origin', repo_dir]) |
with open('recipes.py', 'w') as f: |
f.write('import subprocess, sys\n' |
'sys.exit(subprocess.call(\n' |