def testVerboseLong(self):
     options = createParser().parse_args(['--verbose'])
     assert not options.quiet
     assert options.verbose
 def testVerboseShort(self):
     options = createParser().parse_args(['-v'])
     assert not options.quiet
     assert options.verbose
 def testNone(self):
     options = createParser().parse_args([])
     assert not options.quiet
     assert not options.verbose
 def testVerboseLong(self):
     options = createParser().parse_args(['--verbose'])
     assert not options.quiet
     assert options.verbose
 def testVerboseShort(self):
     options = createParser().parse_args(['-v'])
     assert not options.quiet
     assert options.verbose
 def testNone(self):
     options = createParser().parse_args([])
     assert not options.quiet
     assert not options.verbose