5
3
RENDERED = u"<html>\n<head>\n<title>%s</title>\n</head>\n<body>\n<div>Hello, %s</div>\n</body>\n</html>"
7
5
def test_template_lookup():
13
10
info = dict(title=TITLE, name=NAME)
14
11
s = template.expand(**info)
15
12
assert s.startswith(RENDERED % (TITLE, NAME))