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

Method test_key2param

tests/test_discovery.py:200–202  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

198 self.zoo_schema = Schemas(self.zoo_root_desc)
199
200 def test_key2param(self):
201 self.assertEqual("max_results", key2param("max-results"))
202 self.assertEqual("x007_bond", key2param("007-bond"))
203
204 def _base_fix_up_parameters_test(self, method_desc, http_method, root_desc, schema):
205 self.assertEqual(method_desc["httpMethod"], http_method)

Callers

nothing calls this directly

Calls 1

key2paramFunction · 0.90

Tested by

no test coverage detected