def setUp(self):
        self.fakeFilesystem = FilesystemAccessExpectations()
        sftpClient = InMemorySFTPClient(self.fakeFilesystem )
        self.client = cftp.StdioClient(sftpClient)
        self.client.currentDirectory = '/'
        self.database = self.client._pwd = UserDatabase()
        # Use a fixed width for all tests so that we get the same results when
        # running these tests from different terminals.
        # Run tests in a wide console so that all items are delimited by at
        # least one space character.
        self.setKnownConsoleSize(500, 24)
        # Intentionally bypassing makeConnection - that triggers some code
        # which uses features not provided by our dumb Connection fake.
        self.client.transport = self.client.client.transport
Create the a layout from the XML element and handle children.
dataset/ETHPy150Open twisted/twisted/twisted/conch/test/test_cftp.py/StdioClientTests.setUp--crossover with--dataset/ETHPy150Open ardekantur/pyglet/contrib/wydget/wydget/layouts.py/Layout.fromXML