File size: 230 Bytes
bb0b469
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from schemas import validate_results

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