Ignore:
Timestamp:
14/03/07 21:02:11 (13 years ago)
Author:
lawrence
Message:

Better handling of DIF parameters as currently reported by
mini-MOLES

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/PythonCode/wsgi/ETxmlView.py

    r2274 r2278  
    214214    def setUp(self): 
    215215        ''' Load example files for testing, and get pointers to their dataset identifiers ''' 
    216         inputFiles = ['examples/neodc.eg1.dif','examples/ukho.eg1.mdip'] 
     216        inputFiles = ['examples/neodc.eg1.dif','examples/ukho.eg1.mdip', 
     217                      'examples/bodc.eg2.edmed.dif'] 
    217218        indexes={'.dif':'Entry_ID','.mdip':'DatasetIdentifier'} 
    218         results=['NOCSDAT192','RSDRA2006000377384'] 
     219        results=['NOCSDAT192','RSDRA2006000377384','grid.bodc.nerc.ac.uk__DIF__EDMED1048006'] 
    219220        ids=[] 
    220221        for f in inputFiles: 
     
    238239            helper=nsdumb(tree) 
    239240            self.assertEqual(helper.getText(tree,self.ids[i]),self.results[i]) 
    240              
     241         
    241242 
    242243if __name__=="__main__": 
Note: See TracChangeset for help on using the changeset viewer.