[ZPT] CVS: Zope3/lib/python/Zope/TAL/tests - run.py:1.5.14.2 test_xmlparser.py:1.4.14.3

Shane Hathaway shane@cvs.zope.org
Wed, 13 Mar 2002 22:19:17 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/TAL/tests
In directory cvs.zope.org:/tmp/cvs-serv1513/tests

Modified Files:
      Tag: Zope-3x-branch
	run.py test_xmlparser.py 
Log Message:
- Made TALGenerator provide the source file name for errors.

- Made it so TALESErrors don't mask another exception, which is unfortunately
  brittle.

- Updated license.


=== Zope3/lib/python/Zope/TAL/tests/run.py 1.5.14.1 => 1.5.14.2 ===
 import utils
 import unittest
-import test_htmlparser
 import test_htmltalparser
 import test_talinterpreter
 import test_files
 
 def test_suite():
     suite = unittest.TestSuite()
-    suite.addTest(test_htmlparser.test_suite())
     suite.addTest(test_htmltalparser.test_suite())
     if not utils.skipxml:
         import test_xmlparser


=== Zope3/lib/python/Zope/TAL/tests/test_xmlparser.py 1.4.14.2 => 1.4.14.3 ===
         else:
             parser.parseString(source)
-        self.assert_(parser.get_events() == events, parser.get_events())
+        self.assertEquals(parser.get_events(),events)
 
     def _run_check_extra(self, source, events):
         self._run_check(source, events, EventCollectorExtra)