MCPcopy Create free account
hub / github.com/googleapis/google-api-python-client / test_empty_edge_case

Method test_empty_edge_case

tests/test_schema.py:64–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 )
63
64 def test_empty_edge_case(self):
65 self.assertTrue("Unknown type" in self.sc.prettyPrintSchema({}))
66
67 def test_simple_object(self):
68 self.assertEqual({}, eval(self.sc.prettyPrintSchema({"type": "object"})))

Callers

nothing calls this directly

Calls 1

prettyPrintSchemaMethod · 0.80

Tested by

no test coverage detected