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

Unified Diff: dashboard/dashboard/pinpoint/models/change/change_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/change_test.py
diff --git a/dashboard/dashboard/pinpoint/models/change/change_test.py b/dashboard/dashboard/pinpoint/models/change/change_test.py
index d47ff4b4330fc5e8f454c266c88cf8f2064d8346..372c76984682065a4ef13e9b2bd8f2340a504119 100644
--- a/dashboard/dashboard/pinpoint/models/change/change_test.py
+++ b/dashboard/dashboard/pinpoint/models/change/change_test.py
@@ -27,6 +27,10 @@ class _ChangeTest(testing_common.TestCase):
'catapult': {'repository_url': _CATAPULT_URL},
'chromium': {'repository_url': _CHROMIUM_URL},
})
+ namespaced_stored_object.Set('repository_urls_to_names', {
+ _CATAPULT_URL: 'catapult',
+ _CHROMIUM_URL: 'chromium',
+ })
class ChangeTest(_ChangeTest):

Powered by Google App Engine
This is Rietveld 408576698