Ignore:
Timestamp:
18/02/09 11:33:18 (11 years ago)
Author:
cbyrom
Message:

Move generic 'httpify' method to utilities + adjust utilities method
to retrive default proxy to cope with standard formatting + set this
up on each call to urlopen - since different urls may use different
proxies + tidyup and extend test suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/unittests/clients/xmldb/eXist/testsearchclient.py

    r4942 r4991  
    103103         
    104104         
     105    def testGetNDGB1(self): 
     106        self.createdAtoms.append(self.utils.createOldMolesDoc()) 
     107        doc = self.client.getNDGDoc(tc.VALID_PROVIDER_ID, no.MOLES_DOC_TYPE,  
     108                                    tc.VALID_MOLES_ID, 
     109                                    targetCollection = dc.MOLES_COLLECTION_PATH) 
     110        self.assertTrue(doc.find('dgMetadataRecord') > -1) 
     111        self.assertTrue(doc.find(tc.VALID_MOLES_ID) > -1) 
     112         
     113         
    105114    def testGetDIF(self): 
    106115        self.createdAtoms.append(self.utils.createOldMolesDoc()) 
Note: See TracChangeset for help on using the changeset viewer.