Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/l/i/lisa-client-0.1.0.12/lisa/client/test/test_sendmessage.py   lisa-client(Download)
from lisa.client.service import LisaClientFactory
from twisted.trial import unittest
from twisted.test import proto_helpers
 
import json
    def setUp(self):
        factory = LisaClientFactory()
        self.proto = factory.buildProtocol(('127.0.0.1', 0))
        self.tr = proto_helpers.StringTransport()
        self.proto.makeConnection(self.tr)