Repository navigation
Release v1.1.0
Added
-
Add an attribute
last_responseto theClientclass. Help diagnose client requests to the API.-
self.last_reponse = { "method": method, "url": url, "request": kwargs, "error": None, }
-
-
Add two new unit tests for the
generatemethod. Test for different formats (eg. ‘csv’, ‘txt’). -
Add more parameters to
test_get_url. -
Add unit test
test_warning_for_no_api_keyforapi_keyproperty -
Add more detail to the "Usage" section of the README
Removed
- Remove the
countkey in the_get_urlmethod. - Remove
raise_for_statusfunction in__http_requestmethod. The function was preventingMockarooExceptionsfrom being raised properly.
Fixed
- Fix
__htttp_requestnot raisingMockarooExceptions. - Fix the mistake in the
generatemethod when returning JSON data. Keyword argument using the wrong key “fields” instead of “fmt”.