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

Method setUp

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

Source from the content-addressed store, hash-verified

49
50class SchemasTest(unittest.TestCase):
51 def setUp(self):
52 f = open(datafile("zoo.json"))
53 discovery = f.read()
54 f.close()
55 discovery = json.loads(discovery)
56 self.sc = Schemas(discovery)
57
58 def test_basic_formatting(self):
59 self.assertEqual(

Callers

nothing calls this directly

Calls 4

SchemasClass · 0.90
readMethod · 0.80
datafileFunction · 0.70
closeMethod · 0.45

Tested by

no test coverage detected