Пример #1
0
 def test_command_first_arg(self):
     output = xkcd.command_first("test")
     self.assertEqual(output, "Command does not take arguments")
Пример #2
0
 def test_command_first(self):
     xkcd.sel_comic = 666
     xkcd.command_first()
     self.assertEqual(xkcd.sel_comic, 1)