Ignore:
Timestamp:
06/12/07 16:58:44 (12 years ago)
Author:
lawrence
Message:

This verison of ndgUtils does build to an egg. Next we need to
get dif2moles round trip testing working ... and solve
the related URL problem, and then we can work on the changes
to ndgObject which arise ... before trying to replace
the ows_server code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/python/ndgUtils/test_xqueries.py

    r3125 r3127  
    33from eXistInterface import ndg_eXist 
    44from ndgObject import ndgObject 
     5import ConfigParser 
    56 
    67class TestCase(unittest.TestCase): 
    78     
    8     def setUp(self): 
     9    def setUp(self):  
     10        f='test.config' 
     11        self.c=ConfigParser.ConfigParser() 
     12        self.c.read(f) 
    913        self.xq=ndgXqueries.ndgXqueries() 
    1014        self.xmldb=ndg_eXist(db='glue.badc.rl.ac.uk') 
    1115        self.testDElist=['badc.nerc.ac.uk__NDG-B1__dataent_COAPEC'] 
    1216         
    13     def test_molesQuery(self): 
    14         ''' Tests the moles query ''' 
    15         entity=self.testDElist[0] 
    16         n=ndgObject(entity) 
    17         r=n.get() 
     17    def test_moles2difRoundTrip(self): 
     18        ''' Tests the moles 2 dif round tripping ''' 
     19        moles1=self.testDElist[0] 
     20        dif1=moles1.replace('NDG-B1','DIF') 
     21         
    1822         
    1923         
Note: See TracChangeset for help on using the changeset viewer.