diff options
Diffstat (limited to 'parts/django/tests/regressiontests/templates/custom.py')
-rw-r--r-- | parts/django/tests/regressiontests/templates/custom.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/parts/django/tests/regressiontests/templates/custom.py b/parts/django/tests/regressiontests/templates/custom.py deleted file mode 100644 index b346198..0000000 --- a/parts/django/tests/regressiontests/templates/custom.py +++ /dev/null @@ -1,12 +0,0 @@ -from unittest import TestCase - -from django import template - - -class CustomTests(TestCase): - def test_filter(self): - t = template.Template("{% load custom %}{{ string|trim:5 }}") - self.assertEqual( - t.render(template.Context({"string": "abcdefghijklmnopqrstuvwxyz"})), - u"abcde" - ) |