[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate/tests - test_binding.py:1.5 test_boundpagetemplate.py:1.3 test_directives.py:1.2 test_viewzpt.py:1.6 test_zopepythonexpr.py:1.3
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:35:56 -0400
Update of /cvs-repository/Zope3/src/zope/app/pagetemplate/tests
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/app/pagetemplate/tests
Modified Files:
test_binding.py test_boundpagetemplate.py test_directives.py
test_viewzpt.py test_zopepythonexpr.py
Log Message:
Importgeddon part the second. Removed unused imports throughout the
source tree. This should have taken care of most unused imports
in Zope 3. :)
=== Zope3/src/zope/app/pagetemplate/tests/test_binding.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/pagetemplate/tests/test_binding.py:1.4 Sat Dec 28 12:49:29 2002
+++ Zope3/src/zope/app/pagetemplate/tests/test_binding.py Thu May 1 15:35:26 2003
@@ -14,7 +14,6 @@
import unittest
-from zope.pagetemplate.tests import util
from zope.app.pagetemplate.tests.testpackage.content \
import Content, PTComponent
=== Zope3/src/zope/app/pagetemplate/tests/test_boundpagetemplate.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/pagetemplate/tests/test_boundpagetemplate.py:1.2 Wed Dec 25 09:13:06 2002
+++ Zope3/src/zope/app/pagetemplate/tests/test_boundpagetemplate.py Thu May 1 15:35:26 2003
@@ -11,8 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-import unittest, sys, os
-
+import unittest
class Test(unittest.TestCase):
=== Zope3/src/zope/app/pagetemplate/tests/test_directives.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/pagetemplate/tests/test_directives.py:1.1 Tue Apr 15 14:52:58 2003
+++ Zope3/src/zope/app/pagetemplate/tests/test_directives.py Thu May 1 15:35:26 2003
@@ -20,8 +20,6 @@
from cStringIO import StringIO
from zope.configuration.xmlconfig import xmlconfig, XMLConfig
-from zope.configuration.exceptions import ConfigurationError
-from zope.app.security.exceptions import UndefinedPermissionError
from zope.app.tests.placelesssetup import PlacelessSetup
=== Zope3/src/zope/app/pagetemplate/tests/test_viewzpt.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/pagetemplate/tests/test_viewzpt.py:1.5 Tue Mar 25 06:23:08 2003
+++ Zope3/src/zope/app/pagetemplate/tests/test_viewzpt.py Thu May 1 15:35:26 2003
@@ -11,11 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-import os
-import sys
import unittest
-from zope.testing.cleanup import CleanUp
from zope.component import getService
from zope.app.services.servicenames import Views
from zope.interface import Interface
=== Zope3/src/zope/app/pagetemplate/tests/test_zopepythonexpr.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/pagetemplate/tests/test_zopepythonexpr.py:1.2 Wed Dec 25 09:13:06 2002
+++ Zope3/src/zope/app/pagetemplate/tests/test_zopepythonexpr.py Thu May 1 15:35:26 2003
@@ -17,7 +17,7 @@
$Id$
"""
-from unittest import TestCase, TestSuite, main, makeSuite
+from unittest import TestCase, main, makeSuite
from zope.testing.cleanup import CleanUp # Base class w registry cleanup
class Engine: