Exemple #1
0
 def test_command_license_arg(self):
     output = xkcd.command_license("test")
     self.assertEqual(output, "Command does not take arguments")
Exemple #2
0
 def test_command_license(self):
     excepted_output = program_license
     output = xkcd.command_license()
     self.assertEqual(output, excepted_output)