sookasa / box.py

Python client for Box
43 stars 25 forks source link

Fix issue #15 #17

Closed xiaowl closed 10 years ago

xiaowl commented 10 years ago

I've changed the way how mocked_response works, for these broken cases which I can't tell what kind of result is expected, I simply add a raw=True option when calling client._request, so all cases are passed now.

With the help of new mocked_response, two API errors are found and have been fixed.

tals commented 10 years ago

Hey,

So I ended up nuking raw and just have the caller call json() explicitly. This issue should be fixed in master (pypi release is coming soon)