~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/tests/test_templating.py

  • Committer: Martin Pool
  • Date: 2011-11-25 02:58:16 UTC
  • mfrom: (459.2.16 240580-tarball)
  • Revision ID: mbp@canonical.com-20111125025816-25raz1nxcw17q30o
Add download-tarball support

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")