Complete workplan state model cleanup
This commit is contained in:
parent
98b2cb6484
commit
d6522a9a40
42 changed files with 789 additions and 310 deletions
|
|
@ -51,7 +51,10 @@ def _dependencies_any_incomplete(
|
|||
obj: dict[str, Any],
|
||||
values: list[Any],
|
||||
) -> bool:
|
||||
return bool(values) and any(value != assertion.value for value in values)
|
||||
expected = assertion.value
|
||||
if isinstance(expected, list):
|
||||
return bool(values) and any(value not in expected for value in values)
|
||||
return bool(values) and any(value != expected for value in values)
|
||||
|
||||
|
||||
def assertion_result_to_dict(result: AssertionResult) -> dict[str, Any]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue