django/tests/forms_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
..
field_tests Refs #30908 -- Added test for nonexistent path in forms.FilePathField. 2019-10-29 08:39:56 +01:00
jinja2/forms_tests Fixed #15667 -- Added template-based widget rendering. 2016-12-27 17:50:10 -05:00
templates/forms_tests Fixed #29375 -- Removed empty action attribute on HTML forms. 2018-05-02 09:20:04 -04:00
tests Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
widget_tests Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
__init__.py Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
models.py Fixed hanging indentation in various code. 2018-03-16 10:54:34 +01:00
urls.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
views.py Refs #4960 -- Fixed selenium test failures for CharField strip changes. 2015-07-06 08:52:50 -04:00