Here are the examples of the python api twisted.conch.recvline.HistoricRecvLine taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
3
Source : test_recvline.py
with MIT License
from autofelix
with MIT License
from autofelix
def setUp(self):
self.underlyingTransport = StringTransport()
self.pt = insults.ServerProtocol()
self.p = recvline.HistoricRecvLine()
self.pt.protocolFactory = lambda: self.p
self.pt.factory = self
self.pt.makeConnection(self.underlyingTransport)
def test_printableCharacters(self):
3
Source : test_recvline.py
with MIT License
from fbla-competitive-events
with MIT License
from fbla-competitive-events
def setUp(self):
self.underlyingTransport = StringTransport()
self.pt = insults.ServerProtocol()
self.p = recvline.HistoricRecvLine()
self.pt.protocolFactory = lambda: self.p
self.pt.factory = self
self.pt.makeConnection(self.underlyingTransport)
# self.p.makeConnection(self.pt)
def test_printableCharacters(self):