Replace post-process checks with ones that are not deprecated

R=iannucci@chromium.org

Bug: 899266
Change-Id: Ia9b1f38590d636fa2858a2bd0bbf75d6b2cfe8fa
Reviewed-on: https://chromium-review.googlesource.com/c/1483033
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Sergiy Belozorov <sergiyb@chromium.org>
changes/33/1483033/2
Sergiy Belozorov 6 years ago committed by Commit Bot
parent 245337d62e
commit 151c3484da

@ -19,7 +19,7 @@ def RunSteps(api):
def GenTests(api):
yield (
api.test('basic') +
api.post_process(post_process.StatusCodeIn, 0) +
api.post_process(post_process.StatusSuccess) +
api.post_process(post_process.DropExpectation)
)
@ -29,6 +29,6 @@ def GenTests(api):
'bot_update',
api.json.output({'did_run': True}),
retcode=1) +
api.post_process(post_process.StatusCodeIn, 1) +
api.post_process(post_process.StatusAnyFailure) +
api.post_process(post_process.DropExpectation)
)

Loading…
Cancel
Save