mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-17 15:13:49 +00:00
Fix memory to use the newer fixture organization
This commit is contained in:
parent
dd049d5727
commit
62dd3b376c
8 changed files with 102 additions and 137 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue