Package myproxy :: Package ws :: Package test :: Module test_httpbasicauth :: Class TestApp
[hide private]

Class TestApp

source code


Test WSGI Application for use with the unit tests for the HTTP Basic Auth middleware developed for the myproxy.server.app.MyProxyApp application

Instance Methods [hide private]
 
__init__(self, global_conf, **app_conf)
Follow standard Paste Deploy app factory function signature
source code
 
__call__(self, environ, start_response)
Make a simple response for unit test code to trap and validate against.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, global_conf, **app_conf)
(Constructor)

source code 

Follow standard Paste Deploy app factory function signature

Overrides: object.__init__

__call__(self, environ, start_response)
(Call operator)

source code 

Make a simple response for unit test code to trap and validate against. If this method is executed then the HTTP Basic Auth step in the upstream middleware has succeeded.