def test_parse(self, parser):
    parser.addoption('--hello', dest='hello', action='store')
    args = parser.parse(['--hello', 'world'])
    assert (args.hello == 'world')
    assert (not getattr(args, parseopt.FILE_OR_DIR))
def test_parse(self, parser):
    parser.addoption('--hello', dest='hello', action='store')
    args = parser.parse(['--hello', 'world'])
    assert (args.hello == 'world')
    assert (not getattr(args, parseopt.FILE_OR_DIR))