MCPcopy
hub / github.com/tornadoweb/tornado / test_as_dict

Method test_as_dict

tornado/test/options_test.py:156–159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

_sample_optionsMethod · 0.95
as_dictMethod · 0.80

Tested by

no test coverage detected