Ignore:
Timestamp:
25/05/06 17:32:11 (16 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/NDG/AttAuthorityIO.py

    r1018 r1021  
    352352         
    353353        rootElem = super(self.__class__, self).parseXML(rtnRootElem=True) 
     354         
     355        if 'trustedHosts' not in self: 
     356            # Some error occured on the server such that trustedHosts wasn't  
     357            # set 
     358            return 
     359         
    354360        self['trustedHosts'] = {} 
    355361         
Note: See TracChangeset for help on using the changeset viewer.