def test_receiveTwoCharacters(self):
        self.netstringReceiver.dataReceived("2:ab,")
        self.assertEqual(self.netstringReceiver.received, ["ab"])
Two-character netstrings can be received.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/NetstringReceiverTestCase.test_receiveTwoCharacters