From 35d36d946272bed06a3d7c7cd4e5b71b613e7a4f Mon Sep 17 00:00:00 2001 From: Mike Hansen Date: Mon, 23 Sep 2019 08:31:21 -0700 Subject: Refs #30585 -- Updated project templates and tests to use (block)translate tags. --- tests/template_tests/syntax_tests/test_invalid_string.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/template_tests/syntax_tests/test_invalid_string.py') diff --git a/tests/template_tests/syntax_tests/test_invalid_string.py b/tests/template_tests/syntax_tests/test_invalid_string.py index 18520aa7bf..b05abcfdf3 100644 --- a/tests/template_tests/syntax_tests/test_invalid_string.py +++ b/tests/template_tests/syntax_tests/test_invalid_string.py @@ -53,7 +53,7 @@ class InvalidStringTests(SimpleTestCase): else: self.assertEqual(output, '') - @setup({'invalidstr07': '{% load i18n %}{% blocktrans %}{{ var }}{% endblocktrans %}'}) + @setup({'invalidstr07': '{% load i18n %}{% blocktranslate %}{{ var }}{% endblocktranslate %}'}) def test_invalidstr07(self): output = self.engine.render_to_string('invalidstr07') if self.engine.string_if_invalid: -- cgit v1.3