Permalink
Browse files

add test for #607

  • Loading branch information...
1 parent a17b884 commit ff47af2d9ec7585b88c8cd1ed03978a3087605a2 @aodag committed Jun 20, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 pyramid/tests/test_mako_templating.py
@@ -397,6 +397,11 @@ def test_render_inheritance(self):
result = render('helloinherit.mak', {}).replace('\r','')
self.assertEqual(result, text_('Layout\nHello World!\n'))
+ def test_render_inheritance_from_pkg_spec(self):
+ from pyramid.renderers import render
+ result = render('pyramid.tests:fixtures/helloinherit.mak', {}).replace('\r','')
+ self.assertEqual(result, text_('Layout\nHello World!\n'))
+
def test_render_inheritance_pkg_spec(self):
from pyramid.renderers import render
result = render('hello_inherit_pkg.mak', {}).replace('\r','')

0 comments on commit ff47af2

Please sign in to comment.