MCPcopy
hub / github.com/PaddlePaddle/PaddleFormers / selected_models

Function selected_models

scripts/regression/conftest.py:57–61  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

55
56@pytest.fixture
57def selected_models(request):
58 cli_value = request.config.getoption("--models")
59 if cli_value == "all":
60 return get_all_models_from_config()
61 return [m.strip() for m in cli_value.split(",")]
62
63
64def pytest_generate_tests(metafunc):

Callers

nothing calls this directly

Calls 2

splitMethod · 0.45

Tested by

no test coverage detected