Changeset 7698 for TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/saml/test_soapattributeinterface.py
- Timestamp:
- 04/11/10 13:55:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/saml/test_soapattributeinterface.py
r7077 r7698 22 22 23 23 from ndg.security.common.soap.etree import SOAPEnvelope 24 from ndg.security.common.saml_utils.esg import EsgSamlNamespaces24 from ndg.security.common.saml_utils.esgf import ESGFSamlNamespaces 25 25 from ndg.security.test.unit.wsgi.saml import SoapSamlInterfaceMiddlewareTestCase 26 26 … … 44 44 attributeQuery.subject = Subject() 45 45 attributeQuery.subject.nameID = NameID() 46 attributeQuery.subject.nameID.format = E sgSamlNamespaces.NAMEID_FORMAT46 attributeQuery.subject.nameID.format = ESGFSamlNamespaces.NAMEID_FORMAT 47 47 attributeQuery.subject.nameID.value = subject 48 48 … … 50 50 # special case handling for 'FirstName' attribute 51 51 fnAttribute = Attribute() 52 fnAttribute.name = E sgSamlNamespaces.FIRSTNAME_ATTRNAME52 fnAttribute.name = ESGFSamlNamespaces.FIRSTNAME_ATTRNAME 53 53 fnAttribute.nameFormat = "http://www.w3.org/2001/XMLSchema#string" 54 54 fnAttribute.friendlyName = "FirstName" … … 58 58 # special case handling for 'LastName' attribute 59 59 lnAttribute = Attribute() 60 lnAttribute.name = E sgSamlNamespaces.LASTNAME_ATTRNAME60 lnAttribute.name = ESGFSamlNamespaces.LASTNAME_ATTRNAME 61 61 lnAttribute.nameFormat = "http://www.w3.org/2001/XMLSchema#string" 62 62 lnAttribute.friendlyName = "LastName" … … 66 66 # special case handling for 'LastName' attribute 67 67 emailAddressAttribute = Attribute() 68 emailAddressAttribute.name = E sgSamlNamespaces.EMAILADDRESS_ATTRNAME68 emailAddressAttribute.name = ESGFSamlNamespaces.EMAILADDRESS_ATTRNAME 69 69 emailAddressAttribute.nameFormat = XMLConstants.XSD_NS+"#"+\ 70 70 XSStringAttributeValue.TYPE_LOCAL_NAME
Note: See TracChangeset
for help on using the changeset viewer.