from schemas import validate_results def test_schema(): validate_results([ { "document": "Test", "agency": "CIA", "year": 1999, "excerpt": "Sample text" } ])