def test_group_addoption(self):
    group = parseopt.OptionGroup('hello')
    group.addoption('--option1', action='store_true')
    assert (len(group.options) == 1)
    assert isinstance(group.options[0], parseopt.Argument)
def test_group_addoption(self):
    group = parseopt.OptionGroup('hello')
    group.addoption('--option1', action='store_true')
    assert (len(group.options) == 1)
    assert isinstance(group.options[0], parseopt.Argument)