[ZPT] CVS: Packages/Products/PageTemplates - testHTMLTests.py:1.4

chrism@serenade.digicool.com chrism@serenade.digicool.com
Mon, 26 Mar 2001 16:41:44 -0500


Update of /cvs-repository/Packages/Products/PageTemplates/tests
In directory serenade.digicool.com:/home/chrism/sandboxes/ZPT/lib/python/Products/PageTemplates/tests

Modified Files:
	testHTMLTests.py 
Log Message:
*** empty log message ***


--- Updated File testHTMLTests.py in package Packages/Products/PageTemplates --
--- testHTMLTests.py	2001/03/26 20:33:48	1.3
+++ testHTMLTests.py	2001/03/26 21:41:44	1.4
@@ -167,7 +167,22 @@
       expect = open('output/CheckNothing.html').read()
       out = t()
       util.check_html(expect, out)
-              
+
+   def checkWithXMLHeader(self):
+      t = self.folder.t
+      t.write(open('input/CheckWithXMLHeader.html').read())
+      expect = open('output/CheckWithXMLHeader.html').read()
+      out = t()
+      util.check_html(expect, out)
+
+   def checkNotExpression(self):
+      t = self.folder.t
+      t.write(open('input/CheckNotExpression.html').read())
+      expect = open('output/CheckNotExpression.html').read()
+      out = t()
+      util.check_html(expect, out)
+      
+
 def test_suite():
    return unittest.makeSuite(HTMLTests, 'check')