Beispiel #1
0
 def test_exception(self, value, schema, expected):
     with pytest.raises(expected):
         JsonLoader.loads(value, schema)
Beispiel #2
0
 def test_normal(self, value, schema, expected):
     assert JsonLoader.loads(value, schema) == expected