add test report

This commit is contained in:
Sixian Yi 2025-01-21 17:37:14 -08:00
parent 684de1e6fd
commit 7dc946196d

View file

@ -32,22 +32,6 @@ def pytest_addoption(parser):
TEXT_MODEL = "meta-llama/Llama-3.1-8B-Instruct"
INFERENCE_MODEL = "meta-llama/Llama-3.2-11B-Vision-Instruct"
if config.getoption("--output"):
config.pluginmanager.register(Report())
def pytest_addoption(parser):
parser.addoption(
"--output",
action="store_false",
help="Knob to determine if we should generate report, e.g. --output=True",
)
TEXT_MODEL = "meta-llama/Llama-3.1-8B-Instruct"
INFERENCE_MODEL = "meta-llama/Llama-3.2-11B-Vision-Instruct"
@pytest.fixture(scope="session")
def provider_data():
# check env for tavily secret, brave secret and inject all into provider data