<reponame>PhilipEHausner/NL-Augmenter
def pytest_addoption(parser):
    parser.addoption("--t", action="store", default="butter_fingers_perturbation")
    parser.addoption("--f", action="store", default="length")


def pytest_generate_tests(metafunc):
    option_value = metafunc.config.option.t
    if "transformation_name" in metafunc.fixturenames and option_value is not None:
        metafunc.parametrize("transformation_name", [option_value])

    option_value = metafunc.config.option.f
    if "filter_name" in metafunc.fixturenames and option_value is not None:
        metafunc.parametrize("filter_name", [option_value])
def pytest_addoption(parser):
    parser.addoption("--t", action="store", default="butter_fingers_perturbation")
    parser.addoption("--f", action="store", default="length")


def pytest_generate_tests(metafunc):
    option_value = metafunc.config.option.t
    if "transformation_name" in metafunc.fixturenames and option_value is not None:
        metafunc.parametrize("transformation_name", [option_value])

    option_value = metafunc.config.option.f
    if "filter_name" in metafunc.fixturenames and option_value is not None:
        metafunc.parametrize("filter_name", [option_value])