Package elisa :: Package plugins :: Package http_client :: Package tests :: Module test_http_client :: Class ClientServerMixin

Class ClientServerMixin

source code


A test HTTP server that listens on a given port and serves our test resources. A client for this server is also created.

Instance Methods
 
setUp(self) source code
 
tearDown(self) source code
 
ssl_enabled(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  context_factory = None
hash(x)
  client_class = ElisaHttpClient
  client_constructor_args = SERVER_HOST, SERVER_PORT,
  client_constructor_kwargs = {}
Properties

Inherited from object: __class__

Method Details

ssl_enabled(self)

source code 
Decorators:
  • @property