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

Side by Side Diff: recipe_modules/url/examples/full.py

Issue 2909983003: [loader] Make recipe engine support examples/ module subdir (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 # Copyright 2017 The LUCI Authors. All rights reserved. 1 # Copyright 2017 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed under the Apache License, Version 2.0 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # that can be found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 DEPS = [ 5 DEPS = [
6 'context', 6 'context',
7 'path', 7 'path',
8 'step', 8 'step',
9 'url', 9 'url',
10 ] 10 ]
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 api.test('basic') + 99 api.test('basic') +
100 api.url.text(get(TEST_HTTP_URL), '<html>The Chromium Projects</html>') + 100 api.url.text(get(TEST_HTTP_URL), '<html>The Chromium Projects</html>') +
101 api.url.json(get(TEST_JSON_URL), {'is_json': True}) + 101 api.url.json(get(TEST_JSON_URL), {'is_json': True}) +
102 102
103 api.url.error('error', 500, body='500 Internal Server Error') + 103 api.url.error('error', 500, body='500 Internal Server Error') +
104 api.url.error('infra error', 500, body='500 Internal Server Error') 104 api.url.error('infra error', 500, body='500 Internal Server Error')
105 ) 105 )
106 for bad_cert in TEST_BAD_CERTS: 106 for bad_cert in TEST_BAD_CERTS:
107 test += api.step_data('GET ' + bad_cert, retcode=1) 107 test += api.step_data('GET ' + bad_cert, retcode=1)
108 yield test 108 yield test
OLDNEW
« no previous file with comments | « recipe_modules/url/example.expected/basic.json ('k') | recipe_modules/url/examples/full.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698