conftest.py 647 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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")
    parser.addoption("--metric",
                     action="store",
                     type=float,
                     help="Expected metric threshold")
    parser.addoption("--server-args",
                     action="store",
                     default="",
                     help="Additional server arguments")