We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 677f65a commit 59f14e3Copy full SHA for 59f14e3
1 file changed
tests/test_attributes.py
@@ -45,7 +45,7 @@ def test_attributes(case_fname: Path):
45
case_obj: dict[str, Any] = json.loads(case_fname.read_text())
46
47
conformance = case_obj.get("_conformance", {})
48
- valid = conformance.get("valid", True)
+ valid = 'valid' in case_obj
49
strict = conformance.get("strict", False)
50
51
if strict:
@@ -69,4 +69,4 @@ def test_attributes(case_fname: Path):
69
validator.validate(case_obj)
70
else:
71
with pytest.raises(ValidationError):
72
- validator.validate(case_obj)
+ validator.validate(case_obj)
0 commit comments