aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/features/steps/tutorial.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/features/steps/tutorial.py')
-rw-r--r--test/data/features/steps/tutorial.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/data/features/steps/tutorial.py b/test/data/features/steps/tutorial.py
new file mode 100644
index 0000000..94cb6d8
--- /dev/null
+++ b/test/data/features/steps/tutorial.py
@@ -0,0 +1,13 @@
+from behave import *
+
+@given('we have behave installed')
+def step_impl(context):
+ pass
+
+@when('we implement a test')
+def step_impl(context):
+ assert True is not False
+
+@then('behave will test it for us!')
+def step_impl(context):
+ assert context.failed is False