[Zodb-checkins] CVS: ZODB3/ZEO/tests - testClientCache.py:1.9.2.2

Jeremy Hylton jeremy at zope.com
Fri Jun 20 17:03:14 EDT 2003


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv29268

Modified Files:
      Tag: ZODB3-3_2-branch
	testClientCache.py 
Log Message:
Remove calls to setUp() and tearDown() in unittest.

Those methods don't do anything.


=== ZODB3/ZEO/tests/testClientCache.py 1.9.2.1 => 1.9.2.2 ===
--- ZODB3/ZEO/tests/testClientCache.py:1.9.2.1	Fri Jun 20 14:59:46 2003
+++ ZODB3/ZEO/tests/testClientCache.py	Fri Jun 20 16:03:14 2003
@@ -32,14 +32,12 @@
     _oid3 = 'cdefghij'
 
     def setUp(self):
-        unittest.TestCase.setUp(self)
         self.cachesize = 10*1000*1000
         self.cache = ClientCache(size=self.cachesize)
         self.cache.open()
 
     def tearDown(self):
         self.cache.close()
-        unittest.TestCase.tearDown(self)
 
     def testOpenClose(self):
         pass # All the work is done by setUp() / tearDown()
@@ -285,7 +283,6 @@
     _oid3 = 'cdefghij'
 
     def setUp(self):
-        unittest.TestCase.setUp(self)
         self.vardir = os.getcwd() # Don't use /tmp, it's a security risk
         self.cachesize = 10*1000*1000
         self.storagename = 'foo'
@@ -321,7 +318,6 @@
                     os.unlink(filename)
                 except os.error:
                     pass
-        unittest.TestCase.tearDown(self)
 
     def testCacheFileSelection(self):
         # A bug in __init__ read the wrong slice of the file to determine




More information about the Zodb-checkins mailing list