GodsDevProject commited on
Commit
cfc44c5
·
verified ·
1 Parent(s): 7b2f280

Create test_schema.py

Browse files
Files changed (1) hide show
  1. tests/test_schema.py +11 -0
tests/test_schema.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from schemas import validate_results
2
+
3
+ def test_schema():
4
+ validate_results([
5
+ {
6
+ "document": "Test",
7
+ "agency": "CIA",
8
+ "year": 1999,
9
+ "excerpt": "Sample text"
10
+ }
11
+ ])