def test_moreDataThanSpecified(self):
        self.netstringReceiver.dataReceived("2:aaa,")
        self.assertTrue(self.transport.disconnecting)
Netstrings containing more data than expected are refused.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/NetstringReceiverTestCase.test_moreDataThanSpecified