def test_argument_processopt(self):
    argument = parseopt.Argument('-t', type=int)
    argument.default = 42
    argument.dest = 'abc'
    res = argument.attrs()
    assert (res['default'] == 42)
    assert (res['dest'] == 'abc')
def test_argument_processopt(self):
    argument = parseopt.Argument('-t', type=int)
    argument.default = 42
    argument.dest = 'abc'
    res = argument.attrs()
    assert (res['default'] == 42)
    assert (res['dest'] == 'abc')