Index: recipes/engine_tests/depend_on/no_return.py |
diff --git a/recipes/engine_tests/depend_on/no_return.py b/recipes/engine_tests/depend_on/no_return.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d947d203d97b0d8e7a151fd1c8559c0f570cd7a7 |
--- /dev/null |
+++ b/recipes/engine_tests/depend_on/no_return.py |
@@ -0,0 +1,22 @@ |
+from recipe_engine.recipe_api import Property |
+from recipe_engine import config |
+ |
+DEPS = [ |
+ 'recipe_engine/properties', |
+ 'recipe_engine/step', |
+] |
+ |
+RETURN_SCHEMA = config.ReturnSchema( |
+ result=config.Single(int), |
+) |
+ |
+ |
+def RunSteps(api): |
+ api.step('bam', ['bingo']) |
+ # No return on purpose |
+ |
+def GenTests(api): |
+ yield ( |
+ api.test('basic') + |
+ api.expect_exception('ValueError') |
+ ) |