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