summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aea2541)
raw | patch | inline | side by side (parent: aea2541)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 27 Jul 2001 06:26:43 +0000 (06:26 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 27 Jul 2001 06:26:43 +0000 (06:26 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@95 57a73879-2fb5-44c3-a270-3262357dd7e2
tests/test_db.py | patch | blob | history |
diff --git a/tests/test_db.py b/tests/test_db.py
index faee2ffaca322203aea153299fb863bc74d0fa58..4bfd2ef5b87c58a1191a79f1737be9be7991496a 100644 (file)
--- a/tests/test_db.py
+++ b/tests/test_db.py
-# $Id: test_db.py,v 1.6 2001-07-27 06:23:59 richard Exp $
+# $Id: test_db.py,v 1.7 2001-07-27 06:26:43 richard Exp $
import unittest, os, shutil
self.db = Database('_test_dir')
setupSchema(self.db, 0)
+ def tearDown(self):
+ self.db.close()
+ shutil.rmtree('_test_dir')
+
def testExceptions(self):
# this tests the exceptions that should be raised
ar = self.assertRaises
#
# $Log: not supported by cvs2svn $
+# Revision 1.6 2001/07/27 06:23:59 richard
+# consistency
+#
# Revision 1.5 2001/07/27 06:23:09 richard
# Added some new hyperdb tests to make sure we raise the right exceptions.
#