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

Unified Diff: recipe_modules/bot_update/example.py

Issue 2439373002: bot_update: understand new Gerrit patch properties. (Closed)
Patch Set: lint Created 4 years, 2 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: recipe_modules/bot_update/example.py
diff --git a/recipe_modules/bot_update/example.py b/recipe_modules/bot_update/example.py
index d95fc4d4820c299e4745f7081911962a3904c94a..0dc27c293487992d5f73e0783fa9aaf7d65d2838 100644
--- a/recipe_modules/bot_update/example.py
+++ b/recipe_modules/bot_update/example.py
@@ -141,6 +141,11 @@ def GenTests(api):
yield api.test('tryjob_v8_head_by_default') + api.properties.tryserver(
patch_project='v8',
)
- yield api.test('tryjob_gerrit_angle') + api.properties.tryserver_gerrit(
- full_project_name='angle/angle',
+ yield api.test('tryjob_gerrit_angle') + api.properties.tryserver(
+ gerrit_project='angle/angle',
+ patch_issue=338811,
+ patch_set=3,
+ )
+ yield (api.test('tryjob_gerrit_angle_deprecated') +
+ api.properties.tryserver_gerrit(full_project_name='angle/angle')
)
« no previous file with comments | « recipe_modules/bot_update/api.py ('k') | recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698