diff markup/tests/template.py @ 175:f0cdfcdaa092

Raise error when template search path is empty.
author cmlenz
date Sun, 20 Aug 2006 12:08:50 +0000
parents 19c669eadc2b
children a2e0a7986d19
line wrap: on
line diff
--- a/markup/tests/template.py
+++ b/markup/tests/template.py
@@ -760,8 +760,7 @@
             file2.close()
 
         loader = TemplateLoader()
-        tmpl = loader.load(os.path.abspath(os.path.join(self.dirname,
-                                                        'tmpl2.html')))
+        tmpl = loader.load(os.path.join(self.dirname, 'tmpl2.html'))
         self.assertEqual("""<html>
               <div>Included</div>
             </html>""", tmpl.generate().render())
Copyright (C) 2012-2017 Edgewall Software