~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/tests/test_templating.py

  • Committer: Guillermo Gonzalez
  • Date: 2008-08-22 16:07:30 UTC
  • mto: (217.1.9 logging)
  • mto: This revision was merged to the branch mainline in revision 226.
  • Revision ID: guillo.gonzo@gmail.com-20080822160730-tp6iqlotpxbieb1a
 * refactor of logging-related functions (setup_logging and make_handler) into (new) trace module

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\
4
 
<body>\n<div>Hello, %s</div>\n</body>\n</html>"
5
 
 
 
3
RENDERED = u"<html>\n<head>\n<title>%s</title>\n</head>\n<body>\n<div>Hello, %s</div>\n</body>\n</html>"
6
4
 
7
5
def test_template_lookup():
8
6
    template = load_template("loggerhead.tests.simple")