Example #1
0
 def test_verbose_3(self):
     """Verify verbose level 3 can be set."""
     self.assertIs(None, main(['-v', '-v', '-v']))
Example #2
0
 def dtb(self, *args):
     """Run the CLI with string arguments."""
     args += ('--root', self.root, '-v')
     logging.info("$ {}".format(' '.join(args)))
     main(args)
Example #3
0
 def test_verbose_0(self):
     """Verify verbose level 0 can be set."""
     self.assertIs(None, main([]))