conftest.py 549 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
"""
Pytest configuration for GPT-OSS evaluation tests.
"""


def pytest_addoption(parser):
    """Add command line options for pytest."""
    parser.addoption("--model", action="store", help="Model name to evaluate")
11
12
13
14
15
16
    parser.addoption(
        "--metric", action="store", type=float, help="Expected metric threshold"
    )
    parser.addoption(
        "--server-args", action="store", default="", help="Additional server arguments"
    )