def test_execWithoutShell(self):
        self.database.addUser(
            getpass.getuser(), 'secret', os.getuid(), 1234, 'foo', 'bar', '')

        d = self.client._dispatchCommand("exec echo hello")
        d.addCallback(self.assertEqual, "hello\n")
        return d
If the local user has no shell, the I{exec} command runs its arguments
dataset/ETHPy150Open twisted/twisted/twisted/conch/test/test_cftp.py/StdioClientTests.test_execWithoutShell