0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/tests/view_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
..
app0
app1
app2
app3
app4
app5
locale Fixed #29825 -- Fixed JS ngettext if the string is a non-plural msgid in the catalog. 2019-01-28 21:04:36 +01:00
media
templates Fixed #29825 -- Fixed JS ngettext if the string is a non-plural msgid in the catalog. 2019-01-28 21:04:36 +01:00
templatetags
tests Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
__init__.py
default_urls.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
generic_urls.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
models.py
regression_21530_urls.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
urls.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
views.py