mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-02 05:54:30 +00:00
support non value for test config
This commit is contained in:
parent
26d9804efd
commit
11b2fdd3d8
4 changed files with 15 additions and 9 deletions
|
|
@ -189,6 +189,8 @@ def pytest_collection_modifyitems(session, config, items):
|
|||
required_tests = defaultdict(set)
|
||||
test_configs = [test_config.inference, test_config.memory, test_config.agent]
|
||||
for test_config in test_configs:
|
||||
if test_config is None:
|
||||
continue
|
||||
for test in test_config.tests:
|
||||
arr = test.split("::")
|
||||
if len(arr) != 2:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue