Ignore:
Timestamp:
25/05/06 17:32:11 (15 years ago)
Author:
pjkersha
Message:

Tests/SecurityClientTest?.py: added testAAgetTrustedHostInfoWithNoRoleSet to test with no role input

dist/NDG-Security-0.66.tar.gz: updated distro for testing

NDG/AttAuthorityIO.py: Extra fail safes in TrustedHostInfoResp? - check 'trustedHosts' key is present before referencings
it.

NDG/attAuthority_services_server.py: fix for where no role is set - input to AttAuthority?.getTrustHostInfo as None.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/Tests/SecurityClientTest.py

    r1018 r1021  
    192192            
    193193 
     194    def testAAgetTrustedHostInfoWithNoRoleSet(self): 
     195        """Call Attribute Authority GetTrustedHostInfo""" 
     196         
     197        import pdb 
     198        pdb.set_trace() 
     199        try: 
     200            trustedHosts = self.aaClnt.getTrustedHostInfo( 
     201                                       clntPriKeyPwd=self.__clntPriKeyPwd) 
     202            print trustedHosts 
     203             
     204        except Exception, e: 
     205            self.fail(str(e)) 
     206            
     207 
    194208    def testAAReqAuthorisation(self): 
    195209        """Call Attribute Authority authorisation request""" 
Note: See TracChangeset for help on using the changeset viewer.