Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Str Num Num Num AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A Classes for testing WSGI servers using the HttpClient
 N/A asyncio functools partial pulsar.apps http pulsar.apps.wsgi HttpServerResponse N/A __all__ N/A HttpTestClient DummyTransport N/A N/A asyncio Transport N/A N/A A class simulating a :class:`pulsar.Transport` to a :attr:`connection`

    .. attribute:: client

        The :class:`pulsar.Client` using this :class:`DummyTransport`

    .. attribute:: connection

        The *server* connection for this :attr:`client`
     __init__ N/A N/A self client connnection N/A N/A N/A N/A self client client N/A N/A self connection connnection N/A write N/A N/A self data N/A N/A N/A Writing data means calling ``data_received`` on the
        server :attr:`connection`
         N/A N/A N/A N/A self connection data_received data N/A address N/A N/A self N/A N/A N/A N/A N/A self connection address N/A property N/A DummyConnectionPool N/A N/A N/A A class for simulating a client connection with a server
     get_or_create_connection N/A N/A self producer N/A N/A N/A client N/A N/A self connection_factory N/A self address 1 0 N/A producer consumer_factory producer N/A server N/A N/A self connection_factory N/A 127.0.0.1 46387 1 0 N/A producer server_consumer producer N/A N/A N/A client connection_made N/A DummyTransport producer server N/A N/A N/A server connection_made N/A DummyTransport producer client N/A client N/A N/A HttpTestClient N/A N/A http HttpClient N/A N/A Useful :class:`pulsar.apps.http.HttpClient` for wsgi server
    handlers.

    .. attribute:: wsgi_handler

        The WSGI server handler to test
     N/A client_version Pulsar-Http-Test-Client N/A connection_pool DummyConnectionPool __init__ N/A N/A self test wsgi_handler N/A kwargs N/A N/A N/A self test test N/A N/A self wsgi_handler wsgi_handler N/A N/A self server_consumer N/A partial HttpServerResponse wsgi_handler N/A test cfg N/A N/A N/A N/A super __init__ kwargs N/A data_received N/A N/A self connnection data N/A N/A N/A N/A response N/A N/A self request N/A N/A N/A conn N/A N/A self get_connection request N/A consumer N/A N/A conn consumer_factory conn N/A N/A N/A consumer new_request request N/A consumer N/A N/A