[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content/tests - test_imageupload.py:1.6

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


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

Modified Files:
	test_imageupload.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/browser/content/tests/test_imageupload.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/content/tests/test_imageupload.py:1.5	Fri Nov 21 12:11:54 2003
+++ Zope3/src/zope/app/browser/content/tests/test_imageupload.py	Thu Nov 27 08:59:12 2003
@@ -40,7 +40,7 @@
 class Test(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(Test, self).setUp()
 
         # Configure the widget views
         ztapi.setDefaultViewName(IField, 'edit')




More information about the Zope3-Checkins mailing list