[ZPT] CVS: Zope3/lib/python/Zope/TAL/tests - run.py:1.5.14.1 test_files.py:1.5.14.1 test_htmlparser.py:1.17.14.1 test_htmltalparser.py:1.25.14.1 test_talinterpreter.py:1.3.14.1 test_xmlparser.py:1.4.14.1 utils.py:1.4.14.1

Fred Drake Jr fdrake@acm.org
Mon, 19 Nov 2001 17:13:10 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	run.py test_files.py test_htmlparser.py test_htmltalparser.py 
	test_talinterpreter.py test_xmlparser.py utils.py 
Log Message:
Update the package references to include the Zope package, and remove "1.5"
from the name of the executable used to run these tests as scripts.


=== Zope3/lib/python/Zope/TAL/tests/run.py 1.5 => 1.5.14.1 ===
+#! /usr/bin/env python
 """Run all tests."""
 
 import sys


=== Zope3/lib/python/Zope/TAL/tests/test_files.py 1.5 => 1.5.14.1 ===
+#! /usr/bin/env python
 """Tests that run driver.py over input files comparing to output files."""
 
 import os
 import sys
 import glob
 
-from TAL.tests import utils
+from Zope.TAL.tests import utils
 import unittest
 
-from TAL import runtest
+from Zope.TAL import runtest
 
 class FileTestCase(unittest.TestCase):
 


=== Zope3/lib/python/Zope/TAL/tests/test_htmlparser.py 1.17 => 1.17.14.1 ===
+#! /usr/bin/env python
 """Tests for HTMLParser.py."""
 
 import sys
 
-from TAL.tests import utils
+from Zope.TAL.tests import utils
 import unittest
 
-from TAL import HTMLParser
+from Zope.TAL import HTMLParser
 
 
 class EventCollector(HTMLParser.HTMLParser):


=== Zope3/lib/python/Zope/TAL/tests/test_htmltalparser.py 1.25 => 1.25.14.1 ===
+#! /usr/bin/env python
 """Tests for the HTMLTALParser code generator."""
 
 import pprint
 import sys
 
-from TAL.tests import utils
+from Zope.TAL.tests import utils
 import unittest
 
 from string import rfind
 
-from TAL import HTMLTALParser
-from TAL.TALDefs import TAL_VERSION, TALError, METALError
+from Zope.TAL import HTMLTALParser
+from Zope.TAL.TALDefs import TAL_VERSION, TALError, METALError
 
 
 class TestCaseBase(unittest.TestCase):


=== Zope3/lib/python/Zope/TAL/tests/test_talinterpreter.py 1.3 => 1.3.14.1 ===
+#! /usr/bin/env python
 """Tests for TALInterpreter."""
 
 import sys
 
-from TAL.tests import utils
+from Zope.TAL.tests import utils
 import unittest
 
 from StringIO import StringIO
 
-from TAL.TALDefs import METALError
-from TAL.HTMLTALParser import HTMLTALParser
-from TAL.TALInterpreter import TALInterpreter
-from TAL.DummyEngine import DummyEngine
+from Zope.TAL.TALDefs import METALError
+from Zope.TAL.HTMLTALParser import HTMLTALParser
+from Zope.TAL.TALInterpreter import TALInterpreter
+from Zope.TAL.DummyEngine import DummyEngine
 
 
 class TestCaseBase(unittest.TestCase):


=== Zope3/lib/python/Zope/TAL/tests/test_xmlparser.py 1.4 => 1.4.14.1 ===
+#! /usr/bin/env python
 """Tests for XMLParser.py."""
 
 import string
 import sys
 
-from TAL.tests import utils
+from Zope.TAL.tests import utils
 import unittest
 
-from TAL import XMLParser
+from Zope.TAL import XMLParser
 
 
 class EventCollector(XMLParser.XMLParser):


=== Zope3/lib/python/Zope/TAL/tests/utils.py 1.4 => 1.4.14.1 ===
 
 mydir = os.path.abspath(os.path.dirname(__file__))
-codedir = os.path.dirname(os.path.dirname(mydir))
+codedir = os.path.dirname(os.path.dirname(os.path.dirname(mydir)))
 
 if codedir not in sys.path:
     sys.path.append(codedir)