django/tests/template_tests/syntax_tests
Doug Beck b7508896fb Fixed #24257 -- Corrected i18n handling of percent signs.
Refactored tests to use a sample project.

Updated extraction:
* Removed special handling of single percent signs.
* When extracting messages from template text, doubled all percent signs
  so they are not interpreted by gettext as string format flags. All
  strings extracted by gettext, if containing a percent sign, will now
  be labeled "#, python-format".

Updated translation:
* Used "%%" for "%" in template text before calling gettext.
* Updated {% trans %} rendering to restore "%" from "%%".
2015-08-12 10:23:34 -04:00
..
__init__.py Fixed #23768 -- Rewrote template tests as unit tests. 2014-12-02 19:18:35 -05:00
test_autoescape.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_basic.py Fixed #24257 -- Corrected i18n handling of percent signs. 2015-08-12 10:23:34 -04:00
test_builtins.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_cache.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_comment.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_cycle.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_exceptions.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_extends.py Refs #25236 -- Removed ifequal/ifnotequal usage. 2015-08-08 07:33:15 -04:00
test_filter_syntax.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_filter_tag.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_firstof.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_for.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_i18n.py Fixed #24257 -- Corrected i18n handling of percent signs. 2015-08-12 10:23:34 -04:00
test_if.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_if_changed.py Fixed #23516 -- Added caching of include tag Template objects 2015-06-06 09:25:11 -04:00
test_if_equal.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_include.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_invalid_string.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_list_index.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_load.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_lorem.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_multiline.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_named_endblock.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_now.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_numpy.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_regroup.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_setup.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_simple_tag.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_spaceless.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_ssi.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_static.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_template_tag.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_url.py Fixed #24127 -- Changed the default current_app to the current namespace. 2015-07-27 09:14:48 -04:00
test_verbatim.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00
test_width_ratio.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_with.py Isolated template tests from Django settings. 2014-12-28 16:23:01 +01:00