'test that cache_key=${foo} gets its value from
the \'foo\' argument in the <%def> tag,
and strict_undefined doesn\'t complain.
this is #191.'

def test_inline_expression_from_arg_one(self):

    t = Template('\n                                <%def    name="layout(foo)"    cached="True"    cache_key="${foo}">\n                                foo:    ${foo}\n                                </%def>\n\n                                ${layout(3)}\n                                ', strict_undefined=True, cache_impl='plain')
    eq_(result_lines(t.render()), ['foo:    3'])
