summaryrefslogtreecommitdiff
path: root/parts/django/tests/regressiontests/templates/custom.py
diff options
context:
space:
mode:
authorNishanth Amuluru2011-01-11 22:41:51 +0530
committerNishanth Amuluru2011-01-11 22:41:51 +0530
commitb03203c8cb991c16ac8a3d74c8c4078182d0bb48 (patch)
tree7cf13b2deacbfaaec99edb431b83ddd5ea734a52 /parts/django/tests/regressiontests/templates/custom.py
parent0c50203cd9eb94b819883c3110922e873f003138 (diff)
downloadpytask-b03203c8cb991c16ac8a3d74c8c4078182d0bb48.tar.gz
pytask-b03203c8cb991c16ac8a3d74c8c4078182d0bb48.tar.bz2
pytask-b03203c8cb991c16ac8a3d74c8c4078182d0bb48.zip
removed all the buildout files
Diffstat (limited to 'parts/django/tests/regressiontests/templates/custom.py')
-rw-r--r--parts/django/tests/regressiontests/templates/custom.py12
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"
- )