Ignore:
Timestamp:
16/02/10 16:11:08 (11 years ago)
Author:
pjkersha
Message:
  • Important fix for SOAP client used with SAML SOAP binding: set text/xml content type.
  • Refactored SAML SOAP binding query clients.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/saml/test_soapattributeinterface.py

    r6574 r6578  
    1010__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1111__revision__ = '$Id: $' 
     12import unittest 
    1213from uuid import uuid4 
    1314from datetime import datetime 
     
    2223from ndg.security.common.soap.etree import SOAPEnvelope 
    2324from ndg.security.common.saml_utils.esg import EsgSamlNamespaces 
    24  
    25  
    26 class SOAPAttributeInterfaceMiddlewareTestCase(unittest.TestCase): 
     25from ndg.security.test.unit.wsgi.saml import SoapSamlInterfaceMiddlewareTestCase 
     26 
     27 
     28class SOAPAttributeInterfaceMiddlewareTestCase( 
     29                                        SoapSamlInterfaceMiddlewareTestCase): 
    2730    CONFIG_FILENAME = 'attribute-interface.ini' 
    2831     
     
    179182                     StatusCode.INVALID_ATTR_NAME_VALUE_URI) 
    180183         
    181     def test04InvalidIssuer(self): 
    182         request = self._makeRequest(issuer="My Attribute Query Issuer") 
     184    def test04InvalidQueryIssuer(self): 
     185        request = self._makeRequest(issuer="/CN=My Attribute Query Issuer") 
    183186         
    184187        header = { 
Note: See TracChangeset for help on using the changeset viewer.