Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1094)

Unified Diff: unittests/repo_test_util.py

Issue 1997023002: recipe engine: add remote_run command (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: trybots Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « unittests/remote_run_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'
« no previous file with comments | « unittests/remote_run_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698