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

Unified Diff: dashboard/dashboard/pinpoint/models/change/commit_test.py

Issue 3013683002: [pinpoint] Add a mapping from repository URLs to repository names. (Closed)
Patch Set: /api/gitiles Created 3 years, 3 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
Index: dashboard/dashboard/pinpoint/models/change/commit_test.py
diff --git a/dashboard/dashboard/pinpoint/models/change/commit_test.py b/dashboard/dashboard/pinpoint/models/change/commit_test.py
index 4aef4f29d7fa519955665b02b112e78d0dda6ce2..1214e898064ad29f40545c61127ee846fc6369f2 100644
--- a/dashboard/dashboard/pinpoint/models/change/commit_test.py
+++ b/dashboard/dashboard/pinpoint/models/change/commit_test.py
@@ -22,6 +22,9 @@ class _CommitTest(testing_common.TestCase):
namespaced_stored_object.Set('repositories', {
'chromium': {'repository_url': _CHROMIUM_URL},
})
+ namespaced_stored_object.Set('repository_urls_to_names', {
+ _CHROMIUM_URL: 'chromium',
+ })
class CommitTest(_CommitTest):

Powered by Google App Engine
This is Rietveld 408576698