~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/tests/test_templating.py

  • Committer: Matt Nordhoff
  • Date: 2009-06-03 03:44:17 UTC
  • mto: (359.3.3 hpss-writes)
  • mto: This revision was merged to the branch mainline in revision 362.
  • Revision ID: mnordhoff@mattnordhoff.com-20090603034417-45vmlp2u1t9ddybp
Fix a stupid mistake constructing argv

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
from loggerhead.zptsupport import load_template
2
2
 
3
 
RENDERED = u"<html>\n<head>\n<title>%s</title>\n</head>\n<body>\n<div>Hello, %s</div>\n</body>\n</html>"
 
3
RENDERED = u"<html>\n<head>\n<title>%s</title>\n</head>\n\
 
4
<body>\n<div>Hello, %s</div>\n</body>\n</html>"
 
5
 
4
6
 
5
7
def test_template_lookup():
6
8
    template = load_template("loggerhead.tests.simple")