Lines Matching refs:prettyPrintSchema
66 self.assertTrue("Unknown type" in self.sc.prettyPrintSchema({}))
69 self.assertEqual({}, eval(self.sc.prettyPrintSchema({"type": "object"})))
73 type(""), type(eval(self.sc.prettyPrintSchema({"type": "string"})))
78 type(20), type(eval(self.sc.prettyPrintSchema({"type": "integer"})))
83 type(1.2), type(eval(self.sc.prettyPrintSchema({"type": "number"})))
88 type(True), type(eval(self.sc.prettyPrintSchema({"type": "boolean"})))
93 "foo", eval(self.sc.prettyPrintSchema({"type": "string", "default": "foo"}))
98 20, eval(self.sc.prettyPrintSchema({"type": "integer", "default": 20}))
103 1.2, eval(self.sc.prettyPrintSchema({"type": "number", "default": 1.2}))
109 eval(self.sc.prettyPrintSchema({"type": "boolean", "default": False})),
113 self.assertEqual(None, eval(self.sc.prettyPrintSchema({"type": "null"})))
116 self.assertEqual("", eval(self.sc.prettyPrintSchema({"type": "any"})))
122 self.sc.prettyPrintSchema(