mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
refactor: tests/unittests -> tests/unit; tests/api -> tests/integration
This commit is contained in:
parent
c6b13b6a24
commit
4ca58eb987
33 changed files with 0 additions and 0 deletions
13
tests/integration/safety/conftest.py
Normal file
13
tests/integration/safety/conftest.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
# 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_generate_tests(metafunc):
|
||||
if "llama_guard_text_shield_id" in metafunc.fixturenames:
|
||||
metafunc.parametrize(
|
||||
"llama_guard_text_shield_id",
|
||||
[metafunc.config.getoption("--safety-shield")],
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue