Ignore:
Timestamp:
15/02/10 11:33:01 (11 years ago)
Author:
pjkersha
Message:

Working refactored Attribute Authority Client unit tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/saml_utils/binding/soap/__init__.py

    r6570 r6572  
    5353    __PRIVATE_ATTR_PREFIX = "__" 
    5454    __slots__ = tuple([__PRIVATE_ATTR_PREFIX + i  
    55                        for i in CONFIG_FILE_OPTNAMES + ("__client",)]) 
     55                       for i in CONFIG_FILE_OPTNAMES + ("client",)]) 
    5656    del i 
    5757     
     
    9494    def _setSerialise(self, value): 
    9595        if isinstance(value, basestring): 
    96             self.__deserialise = importModuleObject(value) 
     96            self.__serialise = importModuleObject(value) 
    9797             
    9898        elif callable(value): 
    99             self.__deserialise = value 
     99            self.__serialise = value 
    100100        else: 
    101101            raise TypeError('Expecting callable for "serialise"; got %r' %  
    102102                            value) 
    103         self.__serialise = value 
    104103 
    105104    serialise = property(_getSerialise, _setSerialise,  
     
    181180             
    182181        if request is None: 
    183             request = UrlLib2SOAPRequest()             
     182            request = UrlLib2SOAPRequest() 
    184183            request.envelope = self.requestEnvelopeClass() 
    185184            request.envelope.create() 
Note: See TracChangeset for help on using the changeset viewer.