(self)
| 142 | self.assertEqual(1, options["a"]) |
| 143 | |
| 144 | def test_setitem(self): |
| 145 | options = OptionParser() |
| 146 | options.define("foo", default=1, type=int) |
| 147 | options["foo"] = 2 |
| 148 | self.assertEqual(options["foo"], 2) |
| 149 | |
| 150 | def test_items(self): |
| 151 | options = self._sample_options() |
nothing calls this directly
no test coverage detected