[CMF-checkins] CVS: CMF/CMFCore/tests/base - content.py:1.3.24.1
Yvo Schubbe
schubbe@web.de
Mon, 3 Feb 2003 13:32:44 -0500
Update of /cvs-repository/CMF/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv11061/CMFCore/tests/base
Modified Files:
Tag: yuppie-collector041-branch
content.py
Log Message:
third step:
- added tests for xhtml content
- modified tests for bodyfinder
- made new tests pass
=== CMF/CMFCore/tests/base/content.py 1.3 => 1.3.24.1 ===
--- CMF/CMFCore/tests/base/content.py:1.3 Fri Jun 7 18:41:22 2002
+++ CMF/CMFCore/tests/base/content.py Mon Feb 3 13:32:12 2003
@@ -41,6 +41,26 @@
</html>
'''
+SIMPLE_XHTML = """\
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Title in tag</title>
+ <meta name="description" content="Describe me" />
+ <meta name="contributors" content="foo@bar.com; baz@bam.net;
+ Benotz, Larry J (larry@benotz.stuff)" />
+ <meta name="title" content="Title in meta" />
+ <meta name="subject" content="content management" />
+ </head>
+ <body bgcolor="#ffffff">
+ <h1>Not a lot here</h1>
+ </body>
+</html>
+"""
+
# A document with an html-qualifying *portion*.
FAUX_HTML_LEADING_TEXT = '''\
The following would look like HTML but for this leading text: