MCPcopy Create free account
hub / github.com/sissaschool/xmlschema / run_xml2json

Method run_xml2json

tests/test_cli.py:37–40  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

35 validate()
36
37 def run_xml2json(self, *args):
38 with patch.object(sys, 'argv', ['xmlschema-xml2json'] + list(args)):
39 with self.assertRaises(SystemExit) as self.ctx:
40 xml2json()
41
42 def run_json2xml(self, *args):
43 with patch.object(sys, 'argv', ['xmlschema-json2xml'] + list(args)):

Calls 1

xml2jsonFunction · 0.90

Tested by

no test coverage detected