Esempio n. 1
0
def after_feature(context, feature):
    run_fixture_hooks(context, feature, "after_feature")
Esempio n. 2
0
def after_scenario(context, scenario):
    run_fixture_hooks(context, scenario, "after_scenario")
Esempio n. 3
0
def before_feature(context, feature):
    run_fixture_hooks(context, feature, "before_feature")
Esempio n. 4
0
def before_scenario(context, scenario):
    run_fixture_hooks(context, scenario, "before_scenario")
Esempio n. 5
0
def after_step(context, step):
    run_fixture_hooks(context, step, "after_step")
Esempio n. 6
0
def before_step(context, step):
    run_fixture_hooks(context, step, "before_step")
Esempio n. 7
0
def after_tag(context, tag):
    run_fixture_hooks(context, tag, "after_tag")
Esempio n. 8
0
def before_tag(context, tag):
    if tag.startswith("fixture."):
        return use_fixture_by_tag(tag, context, fixture_registry)
    run_fixture_hooks(context, tag, "before_tag")