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

Method test_getitem

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

Source from the content-addressed store, hash-verified

138 self.assertEqual(set(["a", "b", "help"]), set(iter(options)))
139
140 def test_getitem(self):
141 options = self._sample_options()
142 self.assertEqual(1, options["a"])
143
144 def test_setitem(self):
145 options = OptionParser()

Callers

nothing calls this directly

Calls 1

_sample_optionsMethod · 0.95

Tested by

no test coverage detected