Trees | Indices | Help |
---|
|
object --+ | multiprocessing.process.Process --+ | ApiMockServer
Helper Class to interact with the ApiMockServer Provides methods to add, remove mock objects as well as incoming requests
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
server = <Flask 'tlib.base.ApiMockServer'>
|
|||
Inherited from |
|
|||
Inherited from Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
start the mock server
|
Add the response to the mock server if the payload is provided, other parameters are ignored :param url_filter: Regular expression to match the url path :param status_code: Expected status code :param headers: Headers as a dictionary :param body: response body as plain text :param payload: a python dictionary :return: HTTP status code |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Nov 07 17:06:36 2014 | http://epydoc.sourceforge.net |