def _find_step_fixturedef(fixturemanager, item, name, type_, encoding="utf-8"):
    fixturedefs = fixturemanager.getfixturedefs(get_step_fixture_name(name, type_, encoding), item.nodeid)
    if not fixturedefs:
        name = find_argumented_step_fixture_name(name, type_, fixturemanager)
        if name:
            return _find_step_fixturedef(fixturemanager, item, name, encoding)
    else:
        return fixturedefs
Find step fixturedef.
dataset/ETHPy150Open pytest-dev/pytest-bdd/pytest_bdd/generation.py/_find_step_fixturedef