diff test/test_mailgw.py @ 1483:ca3e0e2320be

fixes to unit tests
author Richard Jones <richard@users.sourceforge.net>
date Fri, 28 Feb 2003 03:33:25 +0000
parents 8dc60d87ab42
children 9b93d140b8e6
line wrap: on
line diff
--- a/test/test_mailgw.py	Thu Feb 27 11:08:26 2003 +0000
+++ b/test/test_mailgw.py	Fri Feb 28 03:33:25 2003 +0000
@@ -8,7 +8,7 @@
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 #
-# $Id: test_mailgw.py,v 1.39 2003-02-06 05:43:49 richard Exp $
+# $Id: test_mailgw.py,v 1.40 2003-02-28 03:33:25 richard Exp $
 
 import unittest, cStringIO, tempfile, os, shutil, errno, imp, sys, difflib
 
@@ -68,7 +68,8 @@
         except OSError, error:
             if error.errno not in (errno.ENOENT, errno.ESRCH): raise
         # create the instance
-        init.install(self.dirname, 'classic', 'anydbm')
+        init.install(self.dirname, 'classic')
+        init.write_select_db(self.dirname, 'anydbm')
         init.initialise(self.dirname, 'sekrit')
         # check we can load the package
         self.instance = instance.open(self.dirname)

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