def test_send(self):
        skt = FakeSocket("")
        count = skt.send("foo")
        self.assertEqual(count, 3)
        self.assertEqual(skt.sendBuffer, ["foo"])
Initialising the app with the extension.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_tcp.py/TestFakeSocket.test_send--crossover with--dataset/ETHPy150Open gsi-upm/senpy/tests/extensions_test/__init__.py/ExtensionsTest.test_init