django1/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 Added some tests for #21725. 2014-02-22 13:50:12 +01:00
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 Completed test coverage of views.static.directory_name(). 2018-10-23 20:44:27 -04:00
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 Refs #23919 -- Removed a Python 2 code path in force_text(). 2017-02-03 19:38:33 -05:00
tests Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
__init__.py Refs #23919 -- Removed a Python 2 code path in force_text(). 2017-02-03 19:38:33 -05:00
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 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
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 Removed unused code in i18n view_tests 2017-04-02 19:58:18 +02:00