django-rest-framework/tests
Jon Dufresne 9d06e43d05 Replace type('') with six.text_type (#6482)
As all source files import unicode_literals, type('') is always
equivalent to six.text_type (str on Python 3 and unicode on Python 2).
Removes the need to call type(), is more explicit, and will be easier to
catch places to change for when it is time to eventually drop Python 2.
2019-03-05 12:11:46 +01:00
..
authentication Add migration for CustomToken test model. 2019-02-14 15:57:20 +01:00
browsable_api Fix Serializer.data when provided invalid 'data' (#5646) 2017-12-04 08:39:55 +01:00
generic_relations Add migration for generic relations Tag model. 2019-02-14 15:57:20 +01:00
importable Fix whitespace in imports 2017-11-25 21:10:30 -05:00
__init__.py
conftest.py Add migration for generic relations Tag model. 2019-02-14 15:57:20 +01:00
models.py Allowed Q objects in limit_choices_to introspection. (#6472) 2019-02-25 10:49:29 +00:00
test_api_client.py Fixed tests on Windows. Added unicode support to SlugField 2017-06-23 23:11:17 -06:00
test_atomic_requests.py tests: fix usage of transaction.non_atomic_requests (#6043) 2018-06-21 14:44:58 -04:00
test_authtoken.py Increase test coverage for drf_create_token command (#5550) 2017-11-02 10:26:42 +01:00
test_bound_fields.py Made TemplateHTMLRenderer render IntegerField inputs when value is 0. (#5834) 2018-02-16 16:48:20 +01:00
test_decorators.py Introduce RemovedInDRF…Warning classes to simplify deprecations. (#6480) 2019-03-03 09:20:45 +01:00
test_description.py Improvements to ViewSet extra actions (#5605) 2018-07-06 10:33:10 +02:00
test_encoders.py Add "optionals not required" build (#6047) 2018-06-22 10:16:57 +02:00
test_exceptions.py Allow hashing of ErrorDetail to fix #5919 (#5932) 2018-04-20 15:32:37 +02:00
test_fields.py Adjusted field validators to accept iterables. (#6282) 2019-02-19 16:38:20 +01:00
test_filters.py Avoided calling distinct on annotated fields in SearchFilter. (#6240) 2019-02-25 16:59:25 +01:00
test_generateschema.py Added tests for generateschema management command. (#6442) 2019-02-14 17:51:10 +01:00
test_generics.py Add ValidationError to except in get_object_or_404 for django 1.11 2017-05-05 21:17:12 -04:00
test_htmlrenderer.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
test_lazy_hyperlinks.py
test_metadata.py Don't show hidden fields in metadata (#5854) 2018-03-23 22:47:10 +00:00
test_middleware.py Fix request body/POST access (#5590) 2017-11-15 20:58:37 +01:00
test_model_serializer.py Added "allow_unicode" to generated kwargs for ModelSerializer SlugField (#6315) 2018-12-19 15:37:52 +01:00
test_multitable_inheritance.py Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00:00
test_negotiation.py Fix all BytesWarning caught during tests (#5561) 2017-11-06 10:02:48 +01:00
test_one_to_one_with_inheritance.py Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00:00
test_pagination.py Replace type('') with six.text_type (#6482) 2019-03-05 12:11:46 +01:00
test_parsers.py Prefer io.BytesIO over six; available on all supported Pythons (#6168) 2018-09-09 11:53:41 +01:00
test_permissions.py Introduce RemovedInDRF…Warning classes to simplify deprecations. (#6480) 2019-03-03 09:20:45 +01:00
test_prefetch_related.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
test_relations_hyperlink.py
test_relations_pk.py Allowed Q objects in limit_choices_to introspection. (#6472) 2019-02-25 10:49:29 +00:00
test_relations_slug.py
test_relations.py Only catch TypeError/ValueError for object lookups (#6028) 2018-07-06 12:18:17 +02:00
test_renderers.py Fix DeprecationWarning in tests when accessing collections.abc classes via collections (#6473) 2019-02-25 15:22:45 +01:00
test_request.py Fix request formdata handling (#5800) 2018-02-05 16:24:13 +01:00
test_requests_client.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
test_response.py Scheme fix when unauth and Flask8 lint fix 2017-05-30 00:15:07 +05:00
test_reverse.py Compat cleanup (#5581) 2017-11-10 09:41:03 +01:00
test_routers.py Introduce RemovedInDRF…Warning classes to simplify deprecations. (#6480) 2019-03-03 09:20:45 +01:00
test_schemas.py Fixed SchemaView to reset renderer on exception. (#6429) 2019-01-31 15:28:01 +01:00
test_serializer_bulk_update.py
test_serializer_lists.py Ensure that html forms (multipart form data) respect optional fields (#5927) 2018-04-20 15:11:52 +02:00
test_serializer_nested.py Ensure that html forms (multipart form data) respect optional fields (#5927) 2018-04-20 15:11:52 +02:00
test_serializer.py Fix DeprecationWarning in tests when accessing collections.abc classes via collections (#6473) 2019-02-25 15:22:45 +01:00
test_settings.py Fix override_settings compat (#5668) 2017-12-14 10:33:48 +01:00
test_status.py
test_templates.py Made templates compatible with session-based CSRF. (#6207) 2019-02-19 12:15:03 +01:00
test_templatetags.py Fix XSS caused by disabled autoescaping in the default DRF Browsable API view templates (#6330) 2019-01-16 12:36:25 +00:00
test_testing.py Formalize URLPatternsTestCase (#5703) 2018-01-02 11:14:25 +01:00
test_throttling.py
test_urlpatterns.py Fix format_suffix_patterns behavior with Django 2 path() routes (#5691) 2017-12-20 13:17:54 +01:00
test_utils.py Fix action support for ViewSet suffixes (#6081) 2018-10-02 16:22:21 +02:00
test_validation_error.py
test_validation.py Replace type('') with six.text_type (#6482) 2019-03-05 12:11:46 +01:00
test_validators.py Fix read_only + default unique_together validation. (#5922) 2018-04-06 15:20:54 +02:00
test_versioning.py Formalize URLPatternsTestCase (#5703) 2018-01-02 11:14:25 +01:00
test_views.py
test_viewsets.py Fix action support for ViewSet suffixes (#6081) 2018-10-02 16:22:21 +02:00
test_write_only_fields.py tests: remove some dead code, use assert 0 for never called methods (#5973) 2018-05-08 13:28:46 +01:00
urls.py Add "optionals not required" build (#6047) 2018-06-22 10:16:57 +02:00
utils.py Compat cleanup (#5581) 2017-11-10 09:41:03 +01:00