| OLD | NEW |
| 1 # Copyright 2013 The LUCI Authors. All rights reserved. | 1 # Copyright 2013 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 from recipe_engine.recipe_api import Property | 5 from recipe_engine.recipe_api import Property |
| 6 | 6 |
| 7 DEPS = [ | 7 DEPS = [ |
| 8 'generator_script', | 8 'generator_script', |
| 9 'json', | 9 'json', |
| 10 'path', | 10 'path', |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 ) | 87 ) |
| 88 | 88 |
| 89 yield ( | 89 yield ( |
| 90 api.test('malformed_command') + | 90 api.test('malformed_command') + |
| 91 api.properties(script_name='malformed.py') + | 91 api.properties(script_name='malformed.py') + |
| 92 api.generator_script( | 92 api.generator_script( |
| 93 'malformed.py', | 93 'malformed.py', |
| 94 {'name': 'run', 'cmd': ['echo', 'there are', 4, 'cows']}) + | 94 {'name': 'run', 'cmd': ['echo', 'there are', 4, 'cows']}) + |
| 95 api.expect_exception('AssertionError') | 95 api.expect_exception('AssertionError') |
| 96 ) | 96 ) |
| OLD | NEW |