(self)
| 829 | "(choose from 'one', 'two', 'three')") |
| 830 | |
| 831 | def test_add_choice_option(self): |
| 832 | self.parser.add_option("-d", "--default", |
| 833 | choices=["four", "five", "six"]) |
| 834 | opt = self.parser.get_option("-d") |
| 835 | self.assertEqual(opt.type, "choice") |
| 836 | self.assertEqual(opt.action, "store") |
| 837 | |
| 838 | class TestCount(BaseTest): |
| 839 | def setUp(self): |
nothing calls this directly
no test coverage detected