def test_scenario_not_found(request):
    with pytest.raises(exceptions.ScenarioNotFound) as exc_info:
        scenario(
            'not_found.feature',
            'NOT FOUND'
        )
    assert six.text_type(exc_info.value).startswith(
        'Scenario "NOT FOUND" in feature "[Empty]" in {feature_path}'
        .format(feature_path=request.fspath.join('..', 'not_found.feature')))
Initialization method
dataset/ETHPy150Open pytest-dev/pytest-bdd/tests/feature/test_scenario.py/test_scenario_not_found--crossover with--dataset/ETHPy150Open Net-ng/kansha/kansha/authentication/database/forms.py/EmailInvitation.__init__