[Zodb-checkins] CVS: Zope3/src/zodb/tests - test_txn.py:1.3
Jeremy Hylton
jeremy@zope.com
Tue, 28 Jan 2003 13:13:38 -0500
Update of /cvs-repository/Zope3/src/zodb/tests
In directory cvs.zope.org:/tmp/cvs-serv3097/zodb/tests
Modified Files:
test_txn.py
Log Message:
Use cleanup() method on storage.
=== Zope3/src/zodb/tests/test_txn.py 1.2 => 1.3 ===
--- Zope3/src/zodb/tests/test_txn.py:1.2 Wed Dec 25 09:12:21 2002
+++ Zope3/src/zodb/tests/test_txn.py Tue Jan 28 13:13:35 2003
@@ -37,10 +37,7 @@
def tearDown(self):
get_transaction().abort()
self.fs.close()
- for ext in '', '.index', '.lock', '.tmp':
- path = self.fs_path + ext
- if os.path.exists(path):
- os.unlink(path)
+ self.fs.cleanup()
class BasicTests: