Work in progress about cleaning up template code.

This commit is contained in:
Michael DeHaan 2013-10-19 10:42:56 -04:00
parent baebe6da0a
commit 35cb9dc22f
2 changed files with 70 additions and 132 deletions

View file

@ -81,15 +81,6 @@ class TestUtils(unittest.TestCase):
assert res == 'hello world'
def test_template_whitespace(self):
vars = {
'who': 'world',
}
res = template2.template_from_file("test", "template-whitespace", vars)
assert res == 'hello world\n'
def test_template_unicode(self):
vars = {
'who': u'wórld',