Пример #1
0
 def test_parse_commandline2(self):
     with mock.patch("githubinfo.commits.show_config") as patched:
         args = commits.parse_commandline()
         self.assertTrue(patched.called)
Пример #2
0
 def test_parse_commandline1(self):
     # Just make sure it doesn't barf somewhere.
     args = commits.parse_commandline()
     self.assertEquals(args.verbose, False)