MCPcopy Create free account
hub / github.com/EasyIME/PIME / test_as_dict

Method test_as_dict

python/python3/tornado/test/options_test.py:157–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

155 self.assertEqual(expected, actual)
156
157 def test_as_dict(self):
158 options = self._sample_options()
159 expected = {"a": 1, "b": 2, "help": options.help}
160 self.assertEqual(expected, options.as_dict())
161
162 def test_group_dict(self):
163 options = OptionParser()

Callers

nothing calls this directly

Calls 2

_sample_optionsMethod · 0.95
as_dictMethod · 0.80

Tested by

no test coverage detected