Changeset 7153 for TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/myproxy/certificate_extapp/test_saml_attribute_assertion.py
- Timestamp:
- 01/07/10 16:10:08 (11 years ago)
- 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 10 10 __license__ = "BSD - see LICENSE file in top-level directory" 11 11 __contact__ = "Philip.Kershaw@stfc.ac.uk" 12 __revision__ = '$Id :$'12 __revision__ = '$Id$' 13 13 import logging 14 14 logging.basicConfig(level=logging.DEBUG) 15 15 16 16 import os 17 from string import Template 17 import sys 18 18 from 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 19 import unittest 23 20 24 21 from ndg.security.common.saml_utils.esg import EsgSamlNamespaces … … 29 26 30 27 class CertExtAppTestCase(BaseTestCase): 28 """Test SAML Assertion Certificate Extension plugin for MyProxy""" 31 29 THIS_DIR = os.path.dirname(__file__) 32 30 OPENID_SQL_QUERY = ("select openid from users where username = " … … 43 41 myProxyCertExtApp = CertExtApp() 44 42 myProxyCertExtApp.connectionString = \ 45 CertExtAppTestCase.DB_CONNECTION_STR43 CertExtAppTestCase.DB_CONNECTION_STR 46 44 47 45 myProxyCertExtApp.openIdSqlQuery = CertExtAppTestCase.OPENID_SQL_QUERY … … 128 126 print(output) 129 127 128 129 if __name__ == "__main__": 130 unittest.main()
Note: See TracChangeset
for help on using the changeset viewer.