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

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

src/v/e/veil-HEAD/src/veil/frontend/web/tornado/__init__.py   veil(Download)
    from .context import get_current_http_response
    from .server import start_http_server
    from .server import start_test_http_server
    from .server import create_stack_context
    from .server import set_http_status_code

src/v/e/veil-HEAD/src/veil/frontend/web/tornado/server_test.py   veil(Download)
from __future__ import unicode_literals, print_function, division
import urllib2
from veil.development.test import TestCase
from .executor import require_io_loop_executor
from .server import start_test_http_server
            get_current_http_response().finish()
 
        self.http_server = start_test_http_server(handler=handler, port=18080)
        with require_io_loop_executor():
            response = urllib2.urlopen('http://localhost:{}'.format(self.http_server.port))