cleanup comments and debugging changes

This commit is contained in:
Kaushik 2025-02-14 13:01:56 -08:00
parent 20f0836d13
commit 5492a13c79

View file

@ -73,7 +73,7 @@ def pytest_configure(config):
SAFETY_SHIELD_PARAMS = [ SAFETY_SHIELD_PARAMS = [
pytest.param("meta-llama/Llama3.1-70B-Instruct", marks=pytest.mark.guard_1b, id="guard_1b"), pytest.param("meta-llama/Llama-Guard-3-1B", marks=pytest.mark.guard_1b, id="guard_1b"),
] ]
@ -85,7 +85,7 @@ def pytest_generate_tests(metafunc):
if "safety_shield" in metafunc.fixturenames: if "safety_shield" in metafunc.fixturenames:
shield_id = metafunc.config.getoption("--safety-shield") shield_id = metafunc.config.getoption("--safety-shield")
if shield_id: if shield_id:
# assert shield_id.startswith("meta-llama/") assert shield_id.startswith("meta-llama/")
params = [pytest.param(shield_id, id="")] params = [pytest.param(shield_id, id="")]
else: else:
params = SAFETY_SHIELD_PARAMS params = SAFETY_SHIELD_PARAMS