Пример #1
0
 def test_factor_one_of(self):
     spec = Holding.schema()
     factor_schema = spec["definitions"]["Procedure"]["properties"][
         "outputs"]
     assert "anyOf" in factor_schema["items"]
Пример #2
0
 def test_fact_in_spec(self):
     spec = Holding.schema()
     assert "Fact" in spec["definitions"]