comparison test/test_init.py @ 1592:4074e2336eed

fixes to unit tests for recent changes
author Richard Jones <richard@users.sourceforge.net>
date Thu, 17 Apr 2003 06:51:44 +0000
parents 96cd422532ef
children 84b6d5b07626
comparison
equal deleted inserted replaced
1591:21312a7564fd 1592:4074e2336eed
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: test_init.py,v 1.22 2003-03-18 00:50:24 richard Exp $ 18 # $Id: test_init.py,v 1.23 2003-04-17 06:51:44 richard Exp $
19 19
20 import unittest, os, shutil, errno, imp, sys 20 import unittest, os, shutil, errno, imp, sys
21 21
22 from roundup import init 22 from roundup import init
23 23
41 backend = 'anydbm' 41 backend = 'anydbm'
42 def testCreation(self): 42 def testCreation(self):
43 ae = self.assertEqual 43 ae = self.assertEqual
44 44
45 # create the instance 45 # create the instance
46 init.install(self.dirname, 'classic') 46 init.install(self.dirname, 'templates/classic')
47 init.write_select_db(self.dirname, self.backend) 47 init.write_select_db(self.dirname, self.backend)
48 init.initialise(self.dirname, 'sekrit') 48 init.initialise(self.dirname, 'sekrit')
49 49
50 # check we can load the package 50 # check we can load the package
51 instance = imp.load_package(self.dirname, self.dirname) 51 instance = imp.load_package(self.dirname, self.dirname)

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