Ignore:
Timestamp:
01/07/10 16:10:08 (11 years ago)
Author:
pjkersha
Message:

Incomplete - task 2: XACML-Security Integration

  • updated certs for new test CA
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/myproxy/certificate_extapp/test_saml_attribute_assertion.py

    r7077 r7153  
    1010__license__ = "BSD - see LICENSE file in top-level directory" 
    1111__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    12 __revision__ = '$Id:$' 
     12__revision__ = '$Id$' 
    1313import logging 
    1414logging.basicConfig(level=logging.DEBUG) 
    1515 
    1616import os 
    17 from string import Template 
     17import sys 
    1818from cStringIO import StringIO 
    19  
    20 from sqlalchemy import create_engine, MetaData, Table, Column, Integer, String 
    21 from sqlalchemy.ext.declarative import declarative_base 
    22 from sqlalchemy.orm import sessionmaker 
     19import unittest 
    2320 
    2421from ndg.security.common.saml_utils.esg import EsgSamlNamespaces 
     
    2926 
    3027class CertExtAppTestCase(BaseTestCase): 
     28    """Test SAML Assertion Certificate Extension plugin for MyProxy""" 
    3129    THIS_DIR = os.path.dirname(__file__) 
    3230    OPENID_SQL_QUERY = ("select openid from users where username = " 
     
    4341        myProxyCertExtApp = CertExtApp() 
    4442        myProxyCertExtApp.connectionString = \ 
    45                     CertExtAppTestCase.DB_CONNECTION_STR 
     43                                            CertExtAppTestCase.DB_CONNECTION_STR 
    4644                     
    4745        myProxyCertExtApp.openIdSqlQuery = CertExtAppTestCase.OPENID_SQL_QUERY 
     
    128126        print(output) 
    129127         
     128         
     129if __name__ == "__main__": 
     130    unittest.main() 
Note: See TracChangeset for help on using the changeset viewer.