MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / test_basic_formatting

Method test_basic_formatting

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

Source from the content-addressed store, hash-verified

56 self.sc = Schemas(discovery)
57
58 def test_basic_formatting(self):
59 self.assertEqual(
60 sorted(LOAD_FEED.splitlines()),
61 sorted(self.sc.prettyPrintByName("LoadFeed").splitlines()),
62 )
63
64 def test_empty_edge_case(self):
65 self.assertTrue("Unknown type" in self.sc.prettyPrintSchema({}))

Callers

nothing calls this directly

Calls 1

prettyPrintByNameMethod · 0.80

Tested by

no test coverage detected