libcsm.tests.mock_objects.mock_http module

Module contents

Reusable mocks for HTTP requests.

class libcsm.tests.mock_objects.mock_http.MockHTTPResponse(data, status_code)

Bases: object

Class for a mocked HTTP response.

json()

Return json data from the exception.