Chromium Code Reviews| Index: recipe_modules/python/example.py |
| diff --git a/recipe_modules/python/example.py b/recipe_modules/python/example.py |
| index 4e35c8a9d9352b9d34211c8400bafb5f05adc4b0..728de39b53387ebed957fe463500f58e2a289536 100644 |
| --- a/recipe_modules/python/example.py |
| +++ b/recipe_modules/python/example.py |
| @@ -5,6 +5,7 @@ |
| """Launches the repo bundler.""" |
| DEPS = [ |
| + 'path', |
| 'python', |
| 'raw_io', |
| 'step', |
| @@ -30,6 +31,11 @@ def RunSteps(api): |
| api.python.inline('inline', 'print "Hello World!"') |
| + # Test "vpython"-based invocation. |
| + api.python('run vpython.script', api.resource('test.py'), venv=True) |
|
iannucci
2017/05/10 22:46:14
let's do test_embedded.py and test_external.py
|
| + api.python('run vpython.spec', api.resource('test.py'), args=['--verify'], |
| + venv=api.resource('test.vpython')) |
| + |
| def GenTests(api): |
| yield api.test('basic') |