more.features/steps/tutorial_steps.py
raw| 1 | # -*- coding: utf-8 -*- |
| 2 | """Step implementations for tutorial example.""" |
| 3 | |
| 4 | from behave import * |
| 5 | |
| 6 | @given('we have behave installed') |
| 7 | def step_impl(context): |
| 8 | pass |
| 9 | |
| 10 | @when('we implement a test') |
| 11 | def step_impl(context): |
| 12 | assert True is not False |
| 13 | |
| 14 | @then('behave will test it for us!') |
| 15 | def step_impl(context): |
| 16 | assert context.failed is False |