(self)
| 147 | self.assertEqual(options["foo"], 2) |
| 148 | |
| 149 | def test_items(self): |
| 150 | options = self._sample_options() |
| 151 | # OptionParsers always define 'help'. |
| 152 | expected = [("a", 1), ("b", 2), ("help", options.help)] |
| 153 | actual = sorted(options.items()) |
| 154 | self.assertEqual(expected, actual) |
| 155 | |
| 156 | def test_as_dict(self): |
| 157 | options = self._sample_options() |
nothing calls this directly
no test coverage detected