예제 #1
0
 def test_lookup(self):
     settings = {
         'mako.lookup.directories': 'tangled.mako.tests:templates',
     }
     lookup = create_lookup(settings)
     lookup.get_template('test.mako')
예제 #2
0
 def test_lookup_abs_path(self):
     lookup = create_lookup({})
     lookup.get_template(abs_path('tangled.mako.tests:templates/test.mako'))