django-rest-framework/tests
David Graves 48a21aa0eb
raise ImproperlyConfigured exception if basename is not unique (#8438)
* raise ImproperlyConfigured if basename already exists

* rename already_registered function; return True/False

* additional basename tests

* additional basename tests

* Update rest_framework/routers.py

Co-authored-by: David Graves <dgraves@lrtcapitalgroup.com>
Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
2022-12-10 22:50:41 +06:00
..
authentication replace partition with split in BasicAuthentication (#8790) 2022-12-08 09:52:35 +06:00
browsable_api tests for #5127 (#7715) 2022-06-08 13:41:26 +01:00
generic_relations Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
importable Fix lazy translation of ListField errors (#6708) 2019-05-22 19:41:53 -07:00
schemas Use PrimaryKeyRelatedField pkfield in openapi (#8315) 2022-12-10 22:48:43 +06:00
__init__.py Support for running the test suite with py.test 2014-03-02 12:40:30 +01:00
conftest.py Removed USE_L10N setting from Django 4.0. 2021-09-23 11:57:03 +02:00
models.py Fixes instance check in ListSerializer.to_representation (#8726) (#8727) 2022-11-22 12:01:01 +06:00
test_api_client.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_atomic_requests.py support multi db atomic_requests (#7739) 2021-03-03 11:15:39 +00:00
test_authtoken.py Fix: authtoken.TokenProxy cannot be proxy when not installed (#7571) 2020-10-09 12:16:15 +01:00
test_bound_fields.py Render JSON fields with proper indentation in browsable API forms. (#6243) 2021-03-15 10:44:03 +00:00
test_decorators.py Revert "Make api_view respect standard wrapper assignments (#8291)" (#8297) 2021-12-15 15:16:38 +00:00
test_description.py Update docstring test for more recent pygments version (#8530) 2022-06-20 10:44:27 +01:00
test_encoders.py Confirmed support for Django 4.1. (#8498) 2022-06-06 12:39:06 +01:00
test_exceptions.py Replace all usage ugettext functions with the non-u versions (#6634) 2019-05-01 07:49:54 +02:00
test_fields.py Fix BooleanField's allow_null behavior (#8614) 2022-12-06 15:04:50 +06:00
test_filters.py Ordering filter bug with model property serializer field (#7609) 2021-03-16 12:53:39 +00:00
test_generics.py Preserve exception messages for wrapped Django exceptions (#8051) 2022-10-11 12:48:57 +00:00
test_htmlrenderer.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_lazy_hyperlinks.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_metadata.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_middleware.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_model_serializer.py Handle unset fields with 'many=True' (#7574) 2022-06-08 14:46:19 +01:00
test_multitable_inheritance.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_negotiation.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_one_to_one_with_inheritance.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_pagination.py fix 404 when page query parameter is empty string (#8578) 2022-11-22 12:37:31 +06:00
test_parsers.py Drop default 'utf-8' to .encode()/.decode() (#6633) 2019-05-01 07:49:16 +02:00
test_permissions.py Fix #8771 - Checking for authentication even if _ignore_model_permissions = True (#8772) 2022-11-22 20:21:16 +06: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 Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_relations_pk.py Fix pk-only optimization for properties (#7142) 2020-09-03 11:49:15 +01:00
test_relations_slug.py fix wrong assert 2017-01-21 02:25:36 +06:00
test_relations.py Fix Pytest's deprecation warnings about nose usage (#8758) 2022-11-15 12:29:15 +00:00
test_renderers.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_request.py Fix infinite recursion with deepcopy on Request (#8684) 2022-10-07 11:58:38 +01:00
test_requests_client.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_response.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_reverse.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_routers.py raise ImproperlyConfigured exception if basename is not unique (#8438) 2022-12-10 22:50:41 +06:00
test_serializer_bulk_update.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_serializer_lists.py Fixes instance check in ListSerializer.to_representation (#8726) (#8727) 2022-11-22 12:01:01 +06:00
test_serializer_nested.py Fix Pytest's deprecation warnings about nose usage (#8758) 2022-11-15 12:29:15 +00:00
test_serializer.py Fix Pytest's deprecation warnings about nose usage (#8758) 2022-11-15 12:29:15 +00:00
test_settings.py Added pagination settings test case (#8362) 2022-11-22 14:18:47 +06:00
test_status.py converted assertion to pytest style in test status (#8769) 2022-11-21 11:32:07 +00:00
test_templates.py Avoid inline script execution for injecting CSRF token (#7016) 2022-11-29 16:10:32 +00:00
test_templatetags.py Update test_templatetags.py 2020-09-30 09:10:36 +01:00
test_testing.py Make APIClient.force_authenticate() work with user=None (#8212) 2022-09-15 09:35:48 +01:00
test_throttling.py Handle 'None' return value of wait() properly during throttling. (#6837) 2019-08-12 11:36:05 -07:00
test_urlpatterns.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_utils.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_validation_error.py Handle tuples same as lists in ValidationError detail context (#7647) 2021-01-06 13:13:34 +00:00
test_validation.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_validators.py Respect model error_messages for relation (#7599) 2022-06-06 13:53:42 +01:00
test_versioning.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
test_views.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_viewsets.py Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01: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 Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
utils.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00