def test_help(self): ch = CommandHandler(['flow']) expected = "\nType 'flow help <subcommand>' for help on a specific subcommand.\n\nAvailable subcommands:\n app\n create\n push\n test" actual = ch.help() self.assertEqual(expected, actual)