OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 DEPS = [ | |
6 'recipe_engine/platform', | |
7 'recipe_engine/raw_io', | |
8 'service_account', | |
9 ] | |
10 | |
11 """Small example of using the service_account api.""" | |
12 | |
13 def RunSteps(api): | |
14 token = api.service_account.get_token('fake-account') | |
15 | |
nodir
2016/05/06 20:32:09
two blank lines between top level declarations
RobertoCN
2016/05/06 21:38:11
Done.
| |
16 def GenTests(api): | |
17 yield (api.test('service_account_win') + | |
18 api.step_data('get access token', | |
19 stdout=api.raw_io.output('MockTokenValueThing')) + | |
20 api.platform('win', 32)) | |
21 yield (api.test('service_account_linux') + | |
22 api.step_data('get access token', | |
23 stdout=api.raw_io.output('MockTokenValueThing')) + | |
24 api.platform('linux', 64)) | |
25 | |
nodir
2016/05/06 20:32:09
this is too many blank lines here
RobertoCN
2016/05/06 21:38:11
Done.
| |
26 | |
27 | |
OLD | NEW |