Пример #1
0
def after_feature(context, feature):
    run_fixture_hooks(context, feature, "after_feature")
Пример #2
0
def after_scenario(context, scenario):
    run_fixture_hooks(context, scenario, "after_scenario")
Пример #3
0
def before_feature(context, feature):
    run_fixture_hooks(context, feature, "before_feature")
Пример #4
0
def before_scenario(context, scenario):
    run_fixture_hooks(context, scenario, "before_scenario")
Пример #5
0
def after_step(context, step):
    run_fixture_hooks(context, step, "after_step")
Пример #6
0
def before_step(context, step):
    run_fixture_hooks(context, step, "before_step")
Пример #7
0
def after_tag(context, tag):
    run_fixture_hooks(context, tag, "after_tag")
Пример #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")