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

Unified Diff: unittests/package_test.py

Issue 1849563004: Fix: Use -C instead of --git-dir. (Closed) Base URL: https://github.com/luci/recipes-py@master
Patch Set: Created 4 years, 9 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 | « recipe_engine/package.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: unittests/package_test.py
diff --git a/unittests/package_test.py b/unittests/package_test.py
index e2f0aaef5599387137135e523b66f4eaa556dc58..36092c2c855337f1f97728d14c1bcf8890a8b801 100755
--- a/unittests/package_test.py
+++ b/unittests/package_test.py
@@ -67,7 +67,7 @@ class TestGitRepoSpec(MockIOThings, unittest.TestCase):
os.path.join(self.context.package_dir, 'funny_recipes')])
self.mock_subprocess.check_output.assert_any_call(
['git',
- '--git-dir', 'repo/root/recipes/.recipe_deps/funny_recipes/.git',
+ '-C', 'repo/root/recipes/.recipe_deps/funny_recipes',
'reset', '-q', '--hard', 'deadbeef'])
« no previous file with comments | « recipe_engine/package.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698