Source

django-piston / tests / test_project / apps / testapp / tests.py

Author Commit Message Labels Comments Date
Joshua Ginsberg
Fixes #188 - bind request.FILES to form in @validate decorator
Emanuele Rocca
Properly raise Http404 on http methods not handled. Basic tests of Resource error handling.
Jesper Nøhr
support for multiple authenticators per resource w/ testcase and backwards compat
Jesper Nøhr
not loading unpickler by default, wrapping yaml unpacker with lambda-dict to not return crappy data, as it will otherwise, fixing a testcase with wrong content type
Jesper Nøhr
fixed tests
Jesper Nøhr
better resource method detection, getting the default oauth store up to speed with 1.0a
Jesper Nøhr
tests pass
Jesper Nøhr
resolving merge between ephelon's fork and the rest, all tests pass
James Emerton
Added tests for list_fields handler attribute
James Emerton
Merged changes
James Emerton
Merge
James Emerton
Moved generate_random_codes() into a manager base class
dfde...@gmail.com
eliminating extraneous print statement
dfde...@gmail.com
dfde...@gmail.com
[mq]: issue-58
Adam Lowry
Return 401 when given an invalid basic auth header instead of a 500.
Adam Lowry
POSTs and PUTs with invalid data for the content-type return 400 Bad Request
Jesper Nøhr
importing ephelon's fork, resolving a few conflicts and refactoring oauth datastore caching
James Emerton
Moved imports where they should be
James Emerton
Added CSRF protection to OAuth authorization
James Emerton
Created OAuth handshake tests
Benjamin Pollack
Benjamin Pollack
add tests for plain object serialization
Jesper Nøhr
importing patches from bmcmurray, fixes #42 and #43, adjusting testcases to expect indented json
Horst Gutmann
Made a minimal change to utils.coerce_put_post to support file-uploads Previously request.FILES got not populated.
Michael Richardson
Add a basic EchoHandler and tests to show that the validation decorator is now working.
Jesper Nøhr
adding 2 tests with abstract base models
Jesper Nøhr
updating tests to comply with #38
Jesper Nøhr
adding test for incoming json/yaml in tests/
Horst Gutmann
Moved the whole test environment into tests/