django-rest-framework/tests
Tilmann Becker d38b94fd74 Fix URL pattern parsing in schema generation (#5689)
* Fix url parsing in schema generation

- Call `str(pattern)` to get non-escaped route
- Strip converters from path to comply with uritemplate format. 
   Background: https://github.com/encode/django-rest-framework/issues/5675#issuecomment-352829363

Fixes #5675
2017-12-20 09:10:28 +01:00
..
browsable_api Fix Serializer.data when provided invalid 'data' (#5646) 2017-12-04 08:39:55 +01:00
importable Fix whitespace in imports 2017-11-25 21:10:30 -05:00
__init__.py Support for running the test suite with py.test 2014-03-02 12:40:30 +01:00
conftest.py Add compat import test 2017-11-06 09:56:57 -05:00
models.py Remove DjangoFilterBackend and associated tests 2017-09-20 16:47:54 +02: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 Remove references to unsupported Django versions in docs and code (#5602) 2017-11-20 09:35:54 +01:00
test_authentication.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02: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 Stop JSONBoundField mangling invalid JSON (#5526) (#5527) 2017-10-25 10:54:38 +02:00
test_decorators.py Refactor schema generation to allow per-view customisation (#5354) 2017-09-14 09:46:34 +01:00
test_description.py Fix whitespace in imports 2017-11-25 21:10:30 -05:00
test_encoders.py JSONEncoder: Don’t strip microseconds from time 2017-09-25 10:10:44 +02:00
test_exceptions.py converted asserts of exceptions test to pytest (#4723) 2016-11-30 11:12:01 +00:00
test_fields.py Remove references to unsupported Django versions in docs and code (#5602) 2017-11-20 09:35:54 +01:00
test_filters.py Remove references to unsupported Django versions in docs and code (#5602) 2017-11-20 09:35:54 +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 Lazy hyperlink names (#4554) 2016-10-11 12:18:00 +01:00
test_metadata.py Perform type check on passed request argument (#5618) 2017-11-23 08:57:31 +01:00
test_middleware.py Fix request body/POST access (#5590) 2017-11-15 20:58:37 +01:00
test_model_serializer.py Minor cleanup for ModelSerializer tests (#5598) 2017-11-22 10:36:34 +01:00
test_multitable_inheritance.py Use dict and set literals instead of calls to dict() and set() (#5559) 2017-11-06 10:03:01 +01: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 Fix whitespace in imports 2017-11-25 21:10:30 -05:00
test_pagination.py Add support for page_size parameter in CursorPaginator class 2017-09-25 11:25:51 +02:00
test_parsers.py Add 'STRICT_JSON' API setting. 2017-09-25 09:08:20 +02:00
test_permissions.py Compat cleanup (#5581) 2017-11-10 09:41:03 +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_generic.py converted generic relations assert to pytest style 2016-11-27 23:55:09 +06:00
test_relations_hyperlink.py converted test asserts of hyperlin relations to pytest 2017-01-21 01:41:45 +06:00
test_relations_pk.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
test_relations_slug.py fix wrong assert 2017-01-21 02:25:36 +06:00
test_relations.py Merge pull request #5174 from tadhg-ohiggins/html_cutoff_none 2017-05-29 11:54:03 +01:00
test_renderers.py SchemaJSRenderer renders invalid Javascript (#5607) 2017-11-22 15:47:03 +01:00
test_request.py Fix AttributeError hiding on request authenticators (#5600) 2017-11-23 08:58:04 +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 Add '.basename' and '.reverse_action()' to ViewSet (#5648) 2017-12-04 11:55:49 +01:00
test_schemas.py Fix URL pattern parsing in schema generation (#5689) 2017-12-20 09:10:28 +01:00
test_serializer_bulk_update.py converted serializer bulk update test asserts to pytest (#4805) 2017-01-11 20:38:32 +00:00
test_serializer_lists.py Fix test for py32-django18. 2016-06-29 10:21:28 +03:00
test_serializer_nested.py Use dict and set literals instead of calls to dict() and set() (#5559) 2017-11-06 10:03:01 +01:00
test_serializer.py Fix Serializer.data when provided invalid 'data' (#5646) 2017-12-04 08:39:55 +01:00
test_settings.py Fix override_settings compat (#5668) 2017-12-14 10:33:48 +01:00
test_status.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_templatetags.py [NEW] Tests for templatetags.schema_links 2017-08-17 21:14:26 +02:00
test_testing.py Force content_type inclusion in APIRequestFactory 2017-08-31 05:45:12 -04:00
test_throttling.py Throttle tests fix (#4810) 2017-01-12 17:53:48 +00:00
test_urlpatterns.py Compat cleanup (#5581) 2017-11-10 09:41:03 +01:00
test_utils.py fix processing unicode symbols in query_string by Python 2 (#5552) 2017-11-06 11:46:37 +01:00
test_validation_error.py more pytest style assert (#4719) 2016-11-30 09:48:33 +00:00
test_validation.py Scheme fix when unauth and Flask8 lint fix 2017-05-30 00:15:07 +05:00
test_validators.py Add remaining tests for validators (#4827) 2017-01-18 20:39:20 +00:00
test_versioning.py Django 2.0a1 compat (#5503) 2017-10-16 11:31:13 +02:00
test_views.py Use overridden settings exception handler 2017-04-06 14:05:29 -05:00
test_viewsets.py Add '.basename' and '.reverse_action()' to ViewSet (#5648) 2017-12-04 11:55:49 +01:00
test_write_only_fields.py converted validators and write_only_fields test to pytest style (#4697) 2016-11-23 14:05:34 +00:00
urls.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
utils.py Compat cleanup (#5581) 2017-11-10 09:41:03 +01:00