Commit graph

13 commits

Author SHA1 Message Date
sneakypete81
ea1fcc8d0f Merge pull request #63 from sneakypete81/pylint-patcher
Pylint patcher
2013-11-03 04:48:40 -08:00
sneakypete81
99d0a8066b Update httpretty to 0.6.5
(but no further due to https://github.com/gabrielfalcao/HTTPretty/issues/114)
2013-10-29 09:18:21 +00:00
sneakypete81
533c2661b1 Ensure HTTP errors raise exceptions even when response processing is disabled 2013-09-06 18:21:21 +01:00
sneakypete81
e8806426ce Use DDT to simplify http_error testcases 2013-09-06 18:20:03 +01:00
sneakypete81
6f70330994 Renamed OpenPhoto to Trovebox 2013-07-19 17:46:30 +01:00
sneakypete81
b4861e4332 Fix a couple of unit tests 2013-06-30 18:25:05 +01:00
sneakypete81
971bab4f7b Status code mismatches are actually quite common.
Rather than raise an exception, just ensure we return the JSON code.
2013-06-30 18:04:36 +01:00
sneakypete81
280521cf4a Mismatch between response status and JSON code raises an exception 2013-06-30 17:21:20 +01:00
sneakypete81
921410d8f8 404 status should raise 404 error, even if JSON is valid. 2013-06-30 17:17:03 +01:00
sneakypete81
6387877e48 Monkey-patch httpretty for Python3 support
This fix is in the httpretty codebase, but not yet released
2013-06-29 20:25:29 +01:00
sneakypete81
77fef49c64 PyLint fixes 2013-06-29 18:57:12 +01:00
sneakypete81
b22a04f071 TestHttpErrors shouldn't inherit from TestHttp 2013-06-29 10:59:12 +01:00
sneakypete81
b9c947c94c Added more unit tests
File post, API version selection, HTTP errors
2013-06-16 12:09:24 +01:00