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