| Home | Trees | Indices | Help |
|---|
|
|
Mock of HttpRequest. Do not construct directly, instead use RequestMockBuilder.
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Constructor for HttpRequestMock
Args:
resp: httplib2.Response, the response to emulate coming from the request
content: string, the response body
postproc: callable, the post processing function usually supplied by
the model class. See model.JsonModel.response() as an example.
|
Execute the request. Same behavior as HttpRequest.execute(), but the response is mocked and not really from an HTTP request/response. |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Aug 16 12:42:15 2016 | http://epydoc.sourceforge.net |