summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5c3d7b1)
raw | patch | inline | side by side (parent: 5c3d7b1)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 12 Sep 2002 04:21:21 +0000 (04:21 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 12 Sep 2002 04:21:21 +0000 (04:21 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1148 57a73879-2fb5-44c3-a270-3262357dd7e2
test/test_db.py | patch | blob | history | |
test/test_mailgw.py | patch | blob | history | |
test/test_schema.py | patch | blob | history |
diff --git a/test/test_db.py b/test/test_db.py
index 4edb232cee1c76d481d67d9616d83170b358dc73..a00a9d341b5db4876765cf89e1a1a07146b9aa25 100644 (file)
--- a/test/test_db.py
+++ b/test/test_db.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: test_db.py,v 1.44 2002-09-10 03:01:20 richard Exp $
+# $Id: test_db.py,v 1.45 2002-09-12 04:21:20 richard Exp $
import unittest, os, shutil, time
class MyTestCase(unittest.TestCase):
def tearDown(self):
+ self.db.close()
+ if hasattr(self, 'db2'):
+ self.db2.close()
if os.path.exists('_test_dir'):
shutil.rmtree('_test_dir')
diff --git a/test/test_mailgw.py b/test/test_mailgw.py
index 26e4195d645de925c60ac20ebc246dad461e2df6..650133fd4031613fb2dfa430eed8493fc4fdca91 100644 (file)
--- a/test/test_mailgw.py
+++ b/test/test_mailgw.py
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
-# $Id: test_mailgw.py,v 1.29 2002-09-10 02:37:28 richard Exp $
+# $Id: test_mailgw.py,v 1.30 2002-09-12 04:21:20 richard Exp $
import unittest, cStringIO, tempfile, os, shutil, errno, imp, sys, difflib
def tearDown(self):
if os.path.exists(os.environ['SENDMAILDEBUG']):
os.remove(os.environ['SENDMAILDEBUG'])
+ self.db.close()
try:
shutil.rmtree(self.dirname)
except OSError, error:
diff --git a/test/test_schema.py b/test/test_schema.py
index 44aea25abb1ed2347731a18ded4cc1a070892b26..9ad53c88f7bbb4b0f222273ed141a0ca8726ac09 100644 (file)
--- a/test/test_schema.py
+++ b/test/test_schema.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: test_schema.py,v 1.10 2002-09-10 03:01:20 richard Exp $
+# $Id: test_schema.py,v 1.11 2002-09-12 04:21:21 richard Exp $
import unittest, os, shutil
self.db.clear()
def tearDown(self):
+ self.db.close()
shutil.rmtree('_test_dir')
def testA_Status(self):