def test_command_first_arg(self): output = xkcd.command_first("test") self.assertEqual(output, "Command does not take arguments")
def test_command_first(self): xkcd.sel_comic = 666 xkcd.command_first() self.assertEqual(xkcd.sel_comic, 1)