def testVerboseLong(self): (options, args) = createParser().parse_args(['--verbose']) assert not options.quiet assert options.verbose assert not args
def testQuietShort(self): (options, args) = createParser().parse_args(['-q']) assert options.quiet assert not options.verbose assert not args
def testNone(self): (options, args) = createParser().parse_args([]) assert not options.quiet assert not options.verbose assert not args