Fix existing test

This commit is contained in:
hroff-1902 2020-02-15 04:22:21 +03:00
parent 06b84b4086
commit 93f9ff1b63

View File

@ -32,7 +32,7 @@ def test_search_strategy():
def test_search_all_strategies():
directory = Path(__file__).parent
strategies = StrategyResolver.search_all_objects(directory)
strategies = StrategyResolver.search_all_objects(directory, enum_failed=False)
assert isinstance(strategies, list)
assert len(strategies) == 3
assert isinstance(strategies[0], dict)