Fix memory to use the newer fixture organization

This commit is contained in:
Ashwin Bharambe 2024-11-03 16:11:43 -08:00 committed by Ashwin Bharambe
parent dd049d5727
commit 62dd3b376c
8 changed files with 102 additions and 137 deletions

View file

@ -49,6 +49,10 @@ def pytest_configure(config):
def pytest_generate_tests(metafunc):
# We use this method to make sure we have built-in simple combos for safety tests
# But a user can also pass in a custom combination via the CLI by doing
# `--providers inference=together,safety=meta_reference`
if "safety_stack" in metafunc.fixturenames:
# print(f"metafunc.fixturenames: {metafunc.fixturenames}, {metafunc}")
available_fixtures = {