forked from phoenix-oss/llama-stack-mirror
# What does this PR do? ## Test Plan pytest verifications/openai/test_chat_completion.py --provider together
28 lines
647 B
Python
28 lines
647 B
Python
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the terms described in the LICENSE file in
|
|
# the root directory of this source tree.
|
|
|
|
|
|
def pytest_addoption(parser):
|
|
parser.addoption(
|
|
"--base-url",
|
|
action="store",
|
|
help="Base URL for OpenAI compatible API",
|
|
)
|
|
parser.addoption(
|
|
"--api-key",
|
|
action="store",
|
|
help="API key",
|
|
)
|
|
parser.addoption(
|
|
"--provider",
|
|
action="store",
|
|
help="Provider to use for testing",
|
|
)
|
|
|
|
|
|
pytest_plugins = [
|
|
"tests.verifications.openai.fixtures.fixtures",
|
|
]
|