1
0
mirror of https://github.com/django/django.git synced 2025-01-09 18:06:34 +00:00
django/tests/template_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
..
eggs
filter_tests Fixed CVE-2019-14232 -- Adjusted regex to avoid backtracking issues when truncating HTML. 2019-08-01 09:24:54 +02:00
jinja2/template_tests
other_templates
recursive_templates
relative_templates
syntax_tests Removed some outdated backwards compatibility imports and misleading comments. 2019-09-24 15:18:53 +02:00
templates
templatetags
__init__.py
alternate_urls.py
annotated_tag_function.py
broken_tag.py
test_base.py
test_callables.py
test_context.py Fixed #30651 -- Made __eq__() methods return NotImplemented for not implemented comparisons. 2019-10-01 17:58:19 +02:00
test_custom.py
test_engine.py
test_extends_relative.py
test_extends.py
test_library.py Fixed #30453 -- Fixed crash of simple_tag() and inclusion_tag() when function is wrapped. 2019-05-17 09:53:24 +02:00
test_loaders.py
test_logging.py
test_nodelist.py
test_origin.py Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
test_parser.py
test_response.py
test_smartif.py
tests.py
urls.py
utils.py
views.py