def testConnectionLost(self): protocol = ModbusTcpProtocol() protocol.connectionLost("What ever reason")
def testTCPServerDisconnect(self): protocol = ModbusTcpProtocol() protocol.connectionLost('because of an error')
def testTCPServerDisconnect(self): protocol = ModbusTcpProtocol() protocol.connectionLost('because of an error')
def testConnectionLost(self): protocol = ModbusTcpProtocol() protocol.connectionLost("What ever reason")