forked from phoenix-oss/llama-stack-mirror
nitpick
This commit is contained in:
parent
a8345f5f76
commit
72a1b27d01
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
def pytest_addoption(parser):
|
||||
parser.addoption(
|
||||
"--safety_shield",
|
||||
"--safety-shield",
|
||||
action="store",
|
||||
default="meta-llama/Llama-Guard-3-1B",
|
||||
help="Specify the safety shield model to use for testing",
|
||||
|
@ -18,5 +18,5 @@ 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")],
|
||||
[metafunc.config.getoption("--safety-shield")],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue