Home | History | Annotate | Download | only in examples

Lines Matching refs:api

13 def RunSteps(api):
14 api.step('1', cmd=['echo', 'hi'])
15 with api.env({'MYVAR': 'myval'}):
16 api.step('2', cmd=['echo', 'hi'])
19 with api.context(env={'PATH': path}):
20 api.step('3', cmd=['echo', 'hi'])
21 with api.env({'PATH': '%(PATH)s:otherpath'}):
22 api.step('4', cmd=['echo', 'hi'])
25 def GenTests(api):
26 yield api.test('test')