summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests/test_invalid_string.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template_tests/syntax_tests/test_invalid_string.py')
-rw-r--r--tests/template_tests/syntax_tests/test_invalid_string.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/template_tests/syntax_tests/test_invalid_string.py b/tests/template_tests/syntax_tests/test_invalid_string.py
index 2bb8c71fd1..18520aa7bf 100644
--- a/tests/template_tests/syntax_tests/test_invalid_string.py
+++ b/tests/template_tests/syntax_tests/test_invalid_string.py
@@ -4,6 +4,7 @@ from ..utils import setup
class InvalidStringTests(SimpleTestCase):
+ libraries = {'i18n': 'django.templatetags.i18n'}
@setup({'invalidstr01': '{{ var|default:"Foo" }}'})
def test_invalidstr01(self):