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

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/c/i/circuits-bricks-0.3/tests/WebClient.py   circuits-bricks(Download)
    def test_absolute(self):
        app = Client("http://localhost:%d/hallo" % self.server.port,
                     channel="TestClient")
        app.start()
        app.fire(Request("GET", "http://localhost:%d/test" % self.server.port))
    def test_relative(self):
        app = Client("http://localhost:%d/test" % self.server.port,
                     channel="TestClient")
        app.start()
        app.fire(Request("GET", "test"))
            self.error = e
        app.addHandler(_on_error)
        app.start()
        app.fire(Request("GET", "test_timeout", timeout=0.5))
        for i in range(10000):