aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_validation.py
AgeCommit message (Collapse)Author
2014-11-28Drop defunct testsTom Christie
2014-11-05Fix failing copy of fields when RegexValidator is used. Closes #1954.Tom Christie
2014-11-03Py2/3 compat for validation testTom Christie
2014-11-03Use invalid_data key for error message. Closes #2002.Tom Christie
2014-10-17Use serializers.ValidationErrorTom Christie
2014-10-10exceptions.ValidationFailed, not Django's ValidationErrorTom Christie
2014-09-12UNICODE_JSON and COMPACT_JSON settingsTom Christie
2014-09-12to_internal_value() and to_representation()Tom Christie
2014-09-11Merge masterTom Christie
2014-09-08More test sortingTom Christie
2014-09-06Fixed #1533 - Resolved issue with integer keys on nested choices never ↵Christopher Adams
validating. - Added unit test for nested `choices` argument. - Added unit test for non-nested `choices` argument.
2014-09-05Workin onTom Christie
2014-08-29Remove `.model` usage in tests.Tom Christie
Remove the shortcut `.model` view attribute usage from test cases.
2014-04-17Merge remote-tracking branch 'pelme/pytest' into feature/pytestXavier Ordoquy
Conflicts: .travis.yml rest_framework/runtests/runtests.py tests/test_filters.py tests/test_pagination.py tox.ini
2014-03-02Support for running the test suite with py.testAndreas Pelme
* Get rid of runtests.py * Moved test code from rest_framework/tests and rest_framework/runtests to tests * Invoke py.test from setup.py * Invoke py.test from Travis * Invoke py.test from tox * Changed setUpClass to be just plain setUp in test_permissions.py * Updated contribution guideline to show how to invoke py.test