[CMF-checkins] CVS: CMF/CMFCore/tests/base - content.py:1.3

Ken Manheimer klm@zope.com
Fri, 7 Jun 2002 18:41:22 -0400


Update of /cvs-repository/CMF/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv10568

Modified Files:
	content.py 
Log Message:
Fodder to elicit the over-eager stripping of body stuff within html
documents (i said non-html in my last checkin).


=== CMF/CMFCore/tests/base/content.py 1.2 => 1.3 ===
 '''
 
+# A document with an html-qualifying *portion*.
+FAUX_HTML_LEADING_TEXT = '''\
+The following would look like HTML but for this leading text:
+
+<html>
+ <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">
+  <meta name="keywords" content="unit tests, framework; ,zope ">
+ </head>
+ <body bgcolor="#ffffff">
+  <h1>Not a lot here</h1>
+ </body>
+</html>
+'''
+
 ENTITY_IN_TITLE = '''\
 <html>
  <head>