Commit 9701c7c1 authored by tandrii's avatar tandrii Committed by Commit bot

Recipes: Stop using tryserver_gerrit in depot_tools.

Only changes how test properties are given, no change in functionality.
Should enable recipe roll of https://codereview.chromium.org/2464673002.

R=martiniss@chromium.org,machenbach@chromium.org
BUG=chromium:645616

Review-Url: https://codereview.chromium.org/2468373002
parent 1158a545
......@@ -146,6 +146,17 @@ def GenTests(api):
patch_issue=338811,
patch_set=3,
)
yield (api.test('tryjob_gerrit_angle_deprecated') +
api.properties.tryserver_gerrit(full_project_name='angle/angle')
yield api.test('tryjob_gerrit_angle_deprecated') + api.properties.tryserver(
patch_project='angle/angle',
gerrit='https://chromium-review.googlesource.com',
patch_storage='gerrit',
repository='https://chromium.googlesource.com/angle/angle',
rietveld=None,
**{
'event.change.id': 'angle%2Fangle~master~Ideadbeaf',
'event.change.number': 338811,
'event.change.url':
'https://chromium-review.googlesource.com/#/c/338811',
'event.patchSet.ref': 'refs/changes/11/338811/3',
}
)
......@@ -65,9 +65,20 @@ 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_deprecated') + api.properties.tryserver(
patch_project='infra/infra',
gerrit='https://chromium-review.googlesource.com',
patch_storage='gerrit',
repository='https://chromium.googlesource.com/infra/infra',
rietveld=None,
**{
'event.change.id': 'infra%2Finfra~master~Ideadbeaf',
'event.change.number': 338811,
'event.change.url':
'https://chromium-review.googlesource.com/#/c/338811',
'event.patchSet.ref': 'refs/changes/11/338811/3',
}
)
yield (api.test('with_gerrit_patch') +
api.properties.tryserver(gerrit_project='infra/infra'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment