django/tests/forms_tests/tests
Nick Pope 7552de7866 Used more specific unittest assertions in tests.
* assertIsNone()/assertIsNotNone() instead of comparing to None.
* assertLess() for < comparisons.
* assertIs() for 'is' expressions.
* assertIsInstance() for isinstance() expressions.
* rounding of assertAlmostEqual() for round() expressions.
* assertIs(..., True/False) instead of comparing to True/False.
* assertIs()/assertIsNot() for ==/!= comparisons.
* assertNotEqual() for == comparisons.
* assertTrue()/assertFalse() instead of comparing to True/False.
2019-10-29 12:37:30 +01:00
..
filepath_test_files Fixed #24948 -- Fixed crash when uploading bitmap images in forms.ImageField 2015-06-16 14:37:58 -04:00
__init__.py Removed unneeded imports in tests's __init__.py and unified them. 2013-09-09 23:01:07 +02:00
test_error_messages.py Fixed #30400 -- Improved typography of user facing strings. 2019-06-28 16:46:18 +02:00
test_forms.py Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
test_formsets.py Used a picklable argument for a subTest. 2019-03-21 13:56:05 -04:00
test_i18n.py Fixed #29038 -- Removed closing slash from HTML void tags. 2018-01-21 02:09:10 -05:00
test_input_formats.py Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
test_media.py Fixed #30179 -- Fixed form Media merging when pairwise merging is insufficient. 2019-02-27 16:39:17 -05:00
test_renderers.py Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. 2017-01-20 08:01:02 -05:00
test_utils.py Fixed #30358 -- Removed redundant assertion in FormsUtilsTestCase.test_error_dict_copy(). 2019-04-13 18:42:11 +02:00
test_validators.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_widgets.py Fixed LiveWidgetTests.test_textarea_trailing_newlines() crash on Chrome 75+. 2019-06-18 11:38:51 +02:00
tests.py Consolidated ModelChoiceField tests. 2018-03-01 14:05:35 -05:00