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

Unified Diff: recipe_modules/tryserver/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
« no previous file with comments | « recipe_modules/tryserver/api.py ('k') | recipe_modules/tryserver/example.expected/with_gerrit_patch.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/tryserver/example.py
diff --git a/recipe_modules/tryserver/example.py b/recipe_modules/tryserver/example.py
index 96b9e0bfa7bf584a489168d1033ff92b2f429785..025f258553ba121b9e16731c3c819549d984644f 100644
--- a/recipe_modules/tryserver/example.py
+++ b/recipe_modules/tryserver/example.py
@@ -65,6 +65,13 @@ def GenTests(api):
api.properties.tryserver(test_patch_root='sub/project') +
description_step)
+ yield (api.test('with_gerrit_patch_deprecated') +
+ api.properties.tryserver_gerrit(
+ full_project_name='infra/infra'))
+
+ yield (api.test('with_gerrit_patch') +
+ api.properties.tryserver(gerrit_project='infra/infra'))
+
yield (api.test('with_wrong_patch_new') + api.platform('win', 32) +
api.properties(test_patch_root='sub\\project'))
« no previous file with comments | « recipe_modules/tryserver/api.py ('k') | recipe_modules/tryserver/example.expected/with_gerrit_patch.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698