1
0
Fork 0

Merge pull request #1746 from Salamandar/fix_tests_schema

schemas: fix tests.v1, args can be booleans too
This commit is contained in:
Alexandre Aubin 2023-09-24 22:15:09 +02:00 committed by GitHub
commit 61ca1b7565

View file

@ -40,7 +40,7 @@ def validate_schema() -> Generator[str, None, None]:
def check_app(app: str, infos: Dict[str, Any]) -> Generator[Tuple[str, bool], None, None]:
if "state" not in infos:
yield "state is missing"
yield "state is missing", True
return
if infos["state"] != "working":