Update tests/strategy/test_strategy.py
Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
This commit is contained in:
parent
5adbe3c2d3
commit
10668bb249
@ -42,7 +42,7 @@ def test_search_all_strategies_with_failed():
|
||||
strategies = StrategyResolver.search_all_objects(directory, enum_failed=True)
|
||||
assert isinstance(strategies, list)
|
||||
assert len(strategies) == 3
|
||||
# with enum_failed=True search_all_objects() shall find 3 good strategies
|
||||
# with enum_failed=True search_all_objects() shall find 2 good strategies
|
||||
# and 1 which fails to load
|
||||
assert len([x for x in strategies if x['class'] is not None]) == 2
|
||||
assert len([x for x in strategies if x['class'] is None]) == 1
|
||||
|
Loading…
Reference in New Issue
Block a user