

def get_step_fixture_name(name, type_, encoding=None):
    'Get step fixture name.\n\n    :param name: unicode string\n    :param type: step type\n    :param encoding: encoding\n    :return: step fixture name\n    :rtype: string\n    '
    return 'pytestbdd_{type}_{name}'.format(type=type_, name=force_encode(name, **(dict(encoding=encoding) if encoding else {
        
    })))

dataset/ETHPy150Open pytest-dev/pytest-bdd/pytest_bdd/steps.py get_step_fixture_name/original