[Zope3-checkins] CVS: Zope3/src/zope/app/ftp/tests - test_ftpview.py:1.5

Philipp von Weitershausen cvs-admin at zope.org
Thu Nov 27 08:59:50 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/ftp/tests
In directory cvs.zope.org:/tmp/cvs-serv22470/ftp/tests

Modified Files:
	test_ftpview.py 
Log Message:
Use super in test setUp methods. We can do this now because TestCase
(finally!) is a new-style class Python 2.3.


=== Zope3/src/zope/app/ftp/tests/test_ftpview.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/ftp/tests/test_ftpview.py:1.4	Sun Sep 21 13:32:14 2003
+++ Zope3/src/zope/app/ftp/tests/test_ftpview.py	Thu Nov 27 08:59:20 2003
@@ -104,7 +104,7 @@
 class Test(PlacelessSetup, TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(Test, self).setUp()
         root = Directory()
         root['test'] = Directory()
         root['test2'] = Directory()




More information about the Zope3-Checkins mailing list