class documentation
class _RapiMock(object):
Mocking out the RAPI server parts.
| Method | __init__ |
Initialize this class. |
| Method | |
This is a callback method used to fetch a response. |
| Instance Variable | handler |
Undocumented |
Initialize this class.
| Parameters | |
| user | Function to authentication username |
| luxi | A LUXI client implementation |
| reqauth | Undocumented |
This is a callback method used to fetch a response.
This method is called by the FakeCurl.perform method
| Parameters | |
| path:string | Requested path |
| method:string | HTTP method |
| headers:email.message.Message | Request headers |
| request | Request body |
| Returns | |
| Tuple containing status code, response headers and response body | |