()
| 126 | assert any("file_type" in e for e in errors) |
| 127 | |
| 128 | def test_assert_valid_raises_on_errors(): |
| 129 | with pytest.raises(ValueError, match="error"): |
| 130 | assert_valid({"nodes": [], "edges": [], "oops": True, **{"nodes": "bad"}}) |
| 131 | |
| 132 | def test_assert_valid_passes_silently(): |
| 133 | assert_valid(VALID) # should not raise |
nothing calls this directly
no test coverage detected