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
test_booleanfield.py
test_charfield.py
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
test_datefield.py Fixed #34424 -- Fixed SelectDateWidget crash for inputs raising OverflowError. 2023-03-22 07:59:39 +01:00
test_datetimefield.py
test_decimalfield.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
test_durationfield.py
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
test_imagefield.py
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
test_multiplechoicefield.py
test_multivaluefield.py
test_nullbooleanfield.py
test_regexfield.py
test_slugfield.py
test_splitdatetimefield.py
test_timefield.py
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