refactor: tests/unittests -> tests/unit; tests/api -> tests/integration

This commit is contained in:
Ashwin Bharambe 2025-03-04 09:55:05 -08:00
parent c6b13b6a24
commit 4ca58eb987
33 changed files with 0 additions and 0 deletions

View 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")],
)