MCPcopy Create free account
hub / github.com/ceph/ceph / test_parse_json_funcsigs

Method test_parse_json_funcsigs

src/test/pybind/test_ceph_argparse.py:44–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42
43class ParseJsonFuncsigs(unittest.TestCase):
44 def test_parse_json_funcsigs(self):
45 commands = get_command_descriptions("all")
46 cmd_json = parse_json_funcsigs(commands, 'cli')
47
48 # syntax error https://github.com/ceph/ceph/pull/585
49 commands = get_command_descriptions("pull585")
50 self.assertRaises(TypeError, parse_json_funcsigs, commands, 'cli')
51
52sigdict = parse_json_funcsigs(get_command_descriptions("all"), 'cli')
53

Callers

nothing calls this directly

Calls 2

parse_json_funcsigsFunction · 0.90
get_command_descriptionsFunction · 0.85

Tested by

no test coverage detected