[svn r63353] better command option handling
--HG-- branch : trunk
This commit is contained in:
@@ -38,7 +38,7 @@ class TestParser:
|
||||
|
||||
def test_parser_addoption(self):
|
||||
parser = parseopt.Parser()
|
||||
group = parser.getgroup("misc")
|
||||
group = parser.getgroup("custom options")
|
||||
assert len(group.options) == 0
|
||||
group.addoption("--option1", action="store_true")
|
||||
assert len(group.options) == 1
|
||||
|
||||
Reference in New Issue
Block a user