~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/tests/test_templating.py

  • Committer: Max Kanat-Alexander
  • Date: 2010-12-01 08:30:02 UTC
  • mto: (157.1.21 devel)
  • mto: This revision was merged to the branch mainline in revision 423.
  • Revision ID: mkanat@bugzilla.org-20101201083002-tum61bojpypc9a7b
Merge in a cherrypick of the "view" controller, to help performance on
Launchpad.

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