(self)
| 90 | assert groups_names == list("132") |
| 91 | |
| 92 | def test_group_addoption(self) -> None: |
| 93 | group = parseopt.OptionGroup("hello", _ispytest=True) |
| 94 | group.addoption("--option1", action="store_true") |
| 95 | assert len(group.options) == 1 |
| 96 | assert isinstance(group.options[0], parseopt.Argument) |
| 97 | |
| 98 | def test_group_addoption_conflict(self) -> None: |
| 99 | group = parseopt.OptionGroup("hello again", _ispytest=True) |