1
0
mirror of https://github.com/django/django.git synced 2025-01-11 02:46:13 +00:00
django/tests/view_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
..
__init__.py
test_csrf.py
test_debug.py
test_defaults.py
test_i18n.py Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
test_json.py
test_specials.py
test_static.py