1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/forms_tests/field_tests
Simon Charette 57307bbc7d Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test suite accordingly.
Over the years we've had multiple instances of hit and misses when
emitting warnings: either setting the wrong stacklevel or not setting
it at all.

This work adds assertions for the existing warnings that were declaring
the correct stacklevel, but were lacking tests for it.
2024-08-28 11:44:05 -03:00
..
filepathfield_test_dir
__init__.py
test_base.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_booleanfield.py Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
test_charfield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_choicefield.py Fixed #31262 -- Added support for mappings on model fields and ChoiceField's choices. 2023-08-30 22:57:40 -03:00
test_combofield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_datefield.py Fixed #34424 -- Fixed SelectDateWidget crash for inputs raising OverflowError. 2023-03-22 07:59:39 +01:00
test_datetimefield.py Refs #32365 -- Removed internal uses of utils.timezone.utc alias. 2022-03-24 06:29:50 +01:00
test_decimalfield.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
test_durationfield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_emailfield.py Refs #34986 -- Fixed some test assertions for PyPy. 2023-11-28 06:19:38 +01:00
test_filefield.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
test_filepathfield.py Refs #34233 -- Used str.removeprefix()/removesuffix(). 2023-01-18 19:11:18 +01:00
test_floatfield.py Fixed #34473 -- Fixed step validation for form fields with non-zero minimum value. 2023-06-16 08:38:28 +02:00
test_genericipaddressfield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_imagefield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_integerfield.py Fixed #34473 -- Fixed step validation for form fields with non-zero minimum value. 2023-06-16 08:38:28 +02:00
test_jsonfield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_multiplechoicefield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_multivaluefield.py Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
test_nullbooleanfield.py Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
test_regexfield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_slugfield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_splitdatetimefield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_timefield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_typedchoicefield.py
test_typedmultiplechoicefield.py
test_urlfield.py Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
test_uuidfield.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00