aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/samples/features/steps/hello.py
blob: 8d7801688555e32f83674bfd411f1f33a00442ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from behave import when, then, step


class Hello():

    @step('we have behave installed')
    def step_impl_installation(context):
        pass

    @when('we implement a test')
    def step_impl_test(context):
        assert True is not False

    @then('behave will test it for us!')
    def step_impl_verify(context):
        assert context.failed is False