| OLD | NEW |
| 1 from recipe_engine import recipe_test_api | 1 from recipe_engine import recipe_test_api |
| 2 | 2 |
| 3 class GeneratorScriptTestApi(recipe_test_api.RecipeTestApi): | 3 class GeneratorScriptTestApi(recipe_test_api.RecipeTestApi): |
| 4 def __call__(self, script_name, *steps): | 4 def __call__(self, script_name, *steps): |
| 5 assert all(isinstance(s, dict) for s in steps) | 5 assert all(isinstance(s, dict) for s in steps) |
| 6 return self.step_data( | 6 return self.step_data( |
| 7 'gen step(%s)' % script_name, | 7 'gen step(%s)' % script_name, |
| 8 self.m.json.output(list(steps)) | 8 self.m.json.output(list(steps)) |
| 9 ) | 9 ) |
| OLD | NEW |