Did I find the right examples for you? yes no

All Samples(8)  |  Call(6)  |  Derive(0)  |  Import(2)

src/t/u/turtle-0.0.2/turtle/test/test_proxy.py   turtle(Download)
from turtle import proxy
 
from twisted.web.test.test_proxy import FakeReactor, DummyParent, DummyChannel
 
class TestEngine(unittest.TestCase):
        transport = StringTransportWithDisconnection()
        channel = DummyChannel(transport)
        reactor = FakeReactor()
        proxy_factory = proxy.TurtleHTTPFactory({}, False, reactor)
        channel.factory = proxy_factory
        transport = StringTransportWithDisconnection()
        channel = DummyChannel(transport)
        reactor = FakeReactor()
        proxy_factory = proxy.TurtleHTTPFactory({}, False, reactor)
        channel.factory = proxy_factory
        transport.protocol = LineSendingProtocol([], False)
        channel = DummyChannel(transport)
        reactor = FakeReactor()
 
        throttler = FakeThrottler()

src/t/u/turtl-0.1.1/turtl/test/test_proxy.py   turtl(Download)
from turtl import proxy
 
from twisted.web.test.test_proxy import FakeReactor, DummyParent, DummyChannel
 
class TestEngine(unittest.TestCase):
        transport = StringTransportWithDisconnection()
        channel = DummyChannel(transport)
        reactor = FakeReactor()
        proxy_factory = proxy.TurtlHTTPFactory({}, False, reactor)
        channel.factory = proxy_factory
        transport = StringTransportWithDisconnection()
        channel = DummyChannel(transport)
        reactor = FakeReactor()
        proxy_factory = proxy.TurtlHTTPFactory({}, False, reactor)
        channel.factory = proxy_factory
        transport.protocol = LineSendingProtocol([], False)
        channel = DummyChannel(transport)
        reactor = FakeReactor()
 
        throttler = FakeThrottler()