diff test/test_cgi.py @ 1483:ca3e0e2320be

fixes to unit tests
author Richard Jones <richard@users.sourceforge.net>
date Fri, 28 Feb 2003 03:33:25 +0000
parents 8ce33ce262a4
children c006e8166f81
line wrap: on
line diff
--- a/test/test_cgi.py	Thu Feb 27 11:08:26 2003 +0000
+++ b/test/test_cgi.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_cgi.py,v 1.11 2003-02-18 06:15:21 richard Exp $
+# $Id: test_cgi.py,v 1.12 2003-02-28 03:33:25 richard Exp $
 
 import unittest, os, shutil, errno, sys, difflib, cgi, re
 
@@ -45,7 +45,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/