def testHelp(self):
        """
        Check that running the '?' command returns help.
        """
        d = self.runCommand('?')

        helpText = cftp.StdioClient(None).cmd_HELP('').strip()
        if isinstance(helpText, unicode):
            helpText = helpText.encode("utf-8")
        d.addCallback(self.assertEqual, helpText)
        return d

        Check that running the '?' command returns help.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_cftp.py