django-rest-framework/tests
Craig de Stigter 651319e2da Fix nested validation error being rendered incorrectly.
Previously an extra list wrapped nested validation errors raised from serializer's validate() methods.
That was inconsistent with the format of validation errors raised by validate_<fieldname> methods.
i.e. these two resulted in *different* behaviour:

    def validate_foo(self):
        raise ValidationError(['bar'])

    def validate(self):
        raise ValidationError({'foo': ['bar']})
2016-01-06 16:05:43 +13:00
..
browsable_api Test for #3153 2015-07-16 15:40:41 +03:00
__init__.py Support for running the test suite with py.test 2014-03-02 12:40:30 +01:00
conftest.py Simplify test settings 2015-03-14 15:57:22 -04:00
description.py Sort imports with isort 2015-06-25 16:55:51 -04:00
models.py Cleanup import following PEP 8 style guide 2015-06-25 16:10:17 -04:00
test_atomic_requests.py Merge branch 'drop-django-16' oft https://github.com/carltongibson/django-rest-framework into carltongibson-drop-django-16 2015-09-28 11:17:48 +01:00
test_authentication.py fix import order 2016-01-05 10:20:22 -06:00
test_bound_fields.py Added test case for rendering nested fields with none value 2015-11-27 15:07:29 +02:00
test_decorators.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_description.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_fields.py updated timefield also 2015-12-13 16:09:56 -07:00
test_filters.py Remove unittest.skipUnless 2015-09-22 16:24:22 +02:00
test_generics.py Use RuntimeError, not AssertionError when guarding against direct View.queryset evalutation. Refs #3180. 2015-07-24 09:13:39 +01:00
test_htmlrenderer.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_metadata.py Include nested objects in metadata for OPTIONS. Closes #3156. Closes #2915. 2015-07-16 15:17:18 +01:00
test_middleware.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_model_serializer.py Merged two DecimalValidator tests together 2016-01-04 10:22:17 -05:00
test_multitable_inheritance.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_negotiation.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_pagination.py allow setting a custom Django Paginator in pagination.PageNumberPagination 2015-11-13 16:04:12 +01:00
test_parsers.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_permissions.py Remove unittest.skipUnless 2015-09-22 16:24:22 +02:00
test_relations_generic.py Remove ContentType import fallback 2015-09-22 15:55:39 +02:00
test_relations_hyperlink.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_relations_pk.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_relations_slug.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_relations.py Fixed Class Newlines 2015-12-04 05:57:09 +00:00
test_renderers.py More cleanup of browser overrides 2015-09-28 15:33:55 +01:00
test_request.py Fix module name with Python 3.5 2015-11-11 17:44:46 +01:00
test_response.py More cleanup of browser overrides 2015-09-28 15:33:55 +01:00
test_reverse.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_routers.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_serializer_bulk_update.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_serializer_lists.py Proof of bug #2761 2015-09-19 10:17:57 -04:00
test_serializer_nested.py Add test coverage on allow_empty for nested serializers. 2015-09-07 23:11:01 +02:00
test_serializer.py Add assert statement to .save() method in Serializer: 2015-09-22 11:49:51 -07:00
test_settings.py Lint import ordring 2015-12-16 18:46:23 -06:00
test_status.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_templatetags.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_testing.py Raise helpful error when erronously including nested data in multipart post requests with test client. Closes #2919. 2015-07-14 14:49:44 +01:00
test_throttling.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_urlpatterns.py Runtests should not suppress stdout. In the context of a web app only serves to hide erronous print statements. 2015-07-16 11:50:22 +01:00
test_utils.py Remove apps.get_model fallback 2015-09-22 16:14:45 +02:00
test_validation.py Fix nested validation error being rendered incorrectly. 2016-01-06 16:05:43 +13:00
test_validators.py Use model error_messages when available 2015-09-23 15:20:44 +02:00
test_versioning.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_views.py Remove method and content overriding 2015-09-17 15:17:29 +01:00
test_viewsets.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_write_only_fields.py Sort imports with isort 2015-06-25 16:55:51 -04:00
urls.py Remove django.conf.urls.pattern as it'll be removed in Django 2.0 2015-06-11 00:45:23 +02:00
utils.py Fix NamespaceVersioning with hyperlinked serializer fields 2015-02-05 00:58:09 +00:00