Ignore:
Timestamp:
11/05/10 13:30:09 (11 years ago)
Author:
pjkersha
Message:

Working unit tested SAML Authorisation service with XACML back-end. TODO: Add Policy Information Point interface to XACML PDP to enable user attribute queries based on matching resource rule constraining attributes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/x509/test_x509.py

    r5953 r6861  
    4141 
    4242class X509TestCase(BaseTestCase): 
     43    """Unit test X509 module""" 
     44    CA_DIR = os.path.join(BaseTestCase.NDGSEC_TEST_CONFIG_DIR, 'ca') 
    4345     
    4446    def __del__(self): 
     
    197199                  "isValidTime: %s" % _warningMsg) 
    198200 
    199  
     201    def test10ReadStackFromCADir(self): 
     202         
     203        stack = X509Stack.fromCADir(X509TestCase.CA_DIR) 
     204        self.assert_(stack) 
     205        self.assert_(len(stack) > 0) 
     206         
    200207class X500DNTestCase(BaseTestCase): 
    201208    def test01VerifyParsingForFieldsContainingSlash(self): 
Note: See TracChangeset for help on using the changeset viewer.