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

Unified Diff: recipe_modules/gclient/test_api.py

Issue 2270083004: Default gclient's GIT_MODE to True (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: A slightly gentler hand with pragmas Created 4 years, 4 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_modules/gclient/example.expected/tryserver.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/gclient/test_api.py
diff --git a/recipe_modules/gclient/test_api.py b/recipe_modules/gclient/test_api.py
index be9338de86642ef8adae94a477f7d2254f7ed9bf..499651bbc6366740c528c4c6ec0e6634bb24a390 100644
--- a/recipe_modules/gclient/test_api.py
+++ b/recipe_modules/gclient/test_api.py
@@ -32,6 +32,6 @@ class GclientTestApi(recipe_test_api.RecipeTestApi):
h = hashlib.sha1(project)
if GIT_MODE:
return h.hexdigest()
- else:
+ else: # pragma: no cover
import struct
return struct.unpack('!I', h.digest()[:4])[0] % 300000
« no previous file with comments | « recipe_modules/gclient/example.expected/tryserver.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698