support non value for test config

This commit is contained in:
Sixian Yi 2025-01-15 13:45:55 -08:00
parent 26d9804efd
commit 11b2fdd3d8
4 changed files with 15 additions and 9 deletions

View file

@ -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: