File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1- # $Id: test_db.py,v 1.6 2001-07-27 06:23:59 richard Exp $
1+ # $Id: test_db.py,v 1.7 2001-07-27 06:26:43 richard Exp $
22
33import unittest , os , shutil
44
@@ -135,6 +135,10 @@ class Database(anydbm.Database):
135135 self .db = Database ('_test_dir' )
136136 setupSchema (self .db , 0 )
137137
138+ def tearDown (self ):
139+ self .db .close ()
140+ shutil .rmtree ('_test_dir' )
141+
138142 def testExceptions (self ):
139143 # this tests the exceptions that should be raised
140144 ar = self .assertRaises
@@ -153,6 +157,9 @@ def suite():
153157
154158#
155159# $Log: not supported by cvs2svn $
160+ # Revision 1.6 2001/07/27 06:23:59 richard
161+ # consistency
162+ #
156163# Revision 1.5 2001/07/27 06:23:09 richard
157164# Added some new hyperdb tests to make sure we raise the right exceptions.
158165#
You can’t perform that action at this time.
0 commit comments