aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/test_fields.py
AgeCommit message (Collapse)Author
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
2014-02-11Test and fix for #1210. World's lowest hanging fruit.Carlton Gibson
2013-11-27Add unittests for ChoiceField metadata.Ian Foote
Rename 'name' to 'display_name'.
2013-11-06Drop u'' prefix for python 3.x compatibilityMathieu Pillard
2013-11-05Improve handling of 'empty' values for ChoiceFieldMathieu Pillard
The empty value defaults back to '' (for backwards-compatibility) but is changed automatically to None for ModelSerializers if the `null` property is set on the db field.
2013-08-29Make ChoiceField.from_native() follow IntegerField behaviour on empty valuesMathieu Pillard
2013-08-16Add test for BooleanField and requiredWill Kahn-Greene
This tests setting required=True on a BooleanField. Test for issue #1004.
2013-06-12Added test for custom fields with min_value and max_value validatorsMark Hughes
2013-06-05Fix up tests and toxTom Christie
2013-06-02Serializer field 'default' argument may be a callableTom Christie
2013-06-02Test cleanupTom Christie
2013-05-29Rename test modules to 1.6 styleTom Christie