Ignore:
Timestamp:
19/01/09 10:20:50 (11 years ago)
Author:
cbyrom
Message:

Update existinitialiser tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/unittests/lib/testexistinitialiser.py

    r4810 r4835  
    44@author C Byrom, Tessella Jan 2009 
    55''' 
    6 import unittest, time 
     6import unittest, time, logging 
    77from ndg.common.src.lib.existinitialiser import EXistInitialiser as ei 
    88import ndg.common.unittests.testconstants as tc 
     
    1818        self.utils = tu(tc.DBCONFIG_FILE) 
    1919        self.ei = ei(self.utils.dbc) 
     20        logging.basicConfig(level=logging.DEBUG, 
     21                        format='%(asctime)s %(filename)s:%(lineno)d %(levelname)s %(message)s') 
    2022 
    2123 
     
    4547    def testAddAtomSchema(self): 
    4648        fileName = self.utils.dbc.xmldb.xq.xsd.keys()[0] + '.xsd' 
    47         pathName = ec.BASE_COLLECTION_PATH + fileName 
     49        pathName = ec.SCHEMATA_COLLECTION_PATH + '/' + fileName 
    4850        # firstly, remove this file, if it exists 
    4951        if not self.utils.dbc.isNewEXistFile(pathName): 
Note: See TracChangeset for help on using the changeset viewer.