diff test/db_test_base.py @ 4350:23bf9290140a

don't have mailgw tests close the db - they're not testing persistence
author Richard Jones <richard@users.sourceforge.net>
date Mon, 08 Feb 2010 08:30:37 +0000
parents f0faef4dd023
children 0e81742d0e2f
line wrap: on
line diff
--- a/test/db_test_base.py	Mon Feb 08 04:30:48 2010 +0000
+++ b/test/db_test_base.py	Mon Feb 08 08:30:37 2010 +0000
@@ -1863,6 +1863,9 @@
             shutil.rmtree(config.DATABASE)
         os.makedirs(config.DATABASE + '/files')
 
+    def open_database(self):
+        self.db = self.module.Database(config, 'admin')
+
     def test_reservedProperties(self):
         self.open_database()
         self.assertRaises(ValueError, self.module.Class, self.db, "a",

Roundup Issue Tracker: http://roundup-tracker.org/