示例#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")