Mercurial > genshi > genshi-test
diff genshi/template/tests/text.py @ 629:cae74e2637c6
Revert second part of [726] (error on includes when no loader specified), which broke I18n extraction via the Babel plugin.
author | cmlenz |
---|---|
date | Tue, 04 Sep 2007 11:51:58 +0000 |
parents | 6a37018199fd |
children | fa8a55fe2d57 |
line wrap: on
line diff
--- a/genshi/template/tests/text.py +++ b/genshi/template/tests/text.py @@ -112,10 +112,6 @@ ----- Included data above this line -----""", tmpl.generate().render()) - def test_include_without_loader(self): - text = '#include "oops.html"' - self.assertRaises(TemplateSyntaxError, OldTextTemplate, text) - class NewTextTemplateTestCase(unittest.TestCase): """Tests for text template processing.""" @@ -236,10 +232,6 @@ Included ----- Included data above this line -----""", tmpl.generate().render()) - def test_include_without_loader(self): - text = '{% include "oops.html" %}' - self.assertRaises(TemplateSyntaxError, NewTextTemplate, text) - def suite(): suite = unittest.TestSuite()