Пример #1
0
 def setUp(self):
     self.protocol = make_protocol_mock()
     self.loop = asyncio.get_event_loop()
     self.t = TransportMock(self, self.protocol, loop=self.loop)
Пример #2
0
 def setUp(self):
     self.protocol = make_protocol_mock()
     self.loop = asyncio.get_event_loop()
     self.t = TransportMock(self, self.protocol, loop=self.loop)