예제 #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")