(self)
| 1007 | ValueError, "invalid OptionGroup (wrong parser)") |
| 1008 | |
| 1009 | def test_group_manipulate(self): |
| 1010 | group = self.parser.add_option_group("Group 2", |
| 1011 | description="Some more options") |
| 1012 | group.set_title("Bacon") |
| 1013 | group.add_option("--bacon", type="int") |
| 1014 | self.assertTrue(self.parser.get_option_group("--bacon"), group) |
| 1015 | |
| 1016 | # -- Test extending and parser.parse_args() ---------------------------- |
| 1017 |
nothing calls this directly
no test coverage detected