django-rest-framework/tests
Carlton Gibson e34fd995cd
Made TemplateHTMLRenderer render IntegerField inputs when value is 0. (#5834)
* Fix 0 value IntegerField in TemplateHTMLRenderer

Signed-off-by: Nikhil Sheoran <nikhilsheoran96@gmail.com>

* Remove unnecessary `field.value != “”` check

* Adjust test case

Uses `vertical` templates only.
2018-02-16 16:48:20 +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 Test staticfiles (#5701) 2018-01-02 11:35:56 +01: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 Made TemplateHTMLRenderer render IntegerField inputs when value is 0. (#5834) 2018-02-16 16:48:20 +01:00
test_decorators.py Rework dynamic list/detail actions (#5705) 2018-01-25 09:40:49 +01:00
test_description.py Upgrade isort (#5817) 2018-02-14 20:12:14 +00:00
test_encoders.py JSONEncoder: Don’t strip microseconds from time 2017-09-25 10:10:44 +02:00
test_exceptions.py ErrorDetail: add __eq__/__ne__ and __repr__ (#5787) 2018-01-30 08:45:09 +01:00
test_fields.py Fixed active timezone handling for non ISO8601 datetimes. (#5833) 2018-02-16 16:47:49 +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 Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00:00
test_middleware.py Fix request body/POST access (#5590) 2017-11-15 20:58:37 +01:00
test_model_serializer.py Add HStoreField, postgres fields tests (#5654) 2018-01-15 15:52:30 +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 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 Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00: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 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 Rework dynamic list/detail actions (#5705) 2018-01-25 09:40:49 +01:00
test_schemas.py Represent serializer DictField as an Object in schema 2018-02-01 16:23:24 +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 Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00: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 Formalize URLPatternsTestCase (#5703) 2018-01-02 11:14:25 +01:00
test_throttling.py Throttle tests fix (#4810) 2017-01-12 17:53:48 +00:00
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 Remove unused compat._resolve_model() (#5733) 2018-01-08 09:19:08 +00: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 Formalize URLPatternsTestCase (#5703) 2018-01-02 11:14:25 +01:00
test_views.py Use overridden settings exception handler 2017-04-06 14:05:29 -05:00
test_viewsets.py Rework dynamic list/detail actions (#5705) 2018-01-25 09:40: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