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

Unified Diff: appengine/cr-buildbucket/service.py

Issue 1917383002: test.py: compute coverage per top-level module. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Addressing comments, and more polishing Created 4 years, 8 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 | « appengine/cr-buildbucket/.gitignore ('k') | appengine/cr-doc/.coveragerc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cr-buildbucket/service.py
diff --git a/appengine/cr-buildbucket/service.py b/appengine/cr-buildbucket/service.py
index cb9ce7d07b7e3380109eb19b515fd2d7de5f0475..60571f03abe7b699e7ec6d4f14417a570a4410b9 100644
--- a/appengine/cr-buildbucket/service.py
+++ b/appengine/cr-buildbucket/service.py
@@ -325,7 +325,7 @@ def search(
_check_search_acls(buckets)
elif retry_of:
retry_of_build = model.Build.get_by_id(retry_of)
- if retry_of_build:
+ if retry_of_build: # pragma: no cover
buckets = [retry_of_build.bucket]
else:
buckets = acl.get_available_buckets()
« no previous file with comments | « appengine/cr-buildbucket/.gitignore ('k') | appengine/cr-doc/.coveragerc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698