Ignore:
Timestamp:
14/05/09 16:42:36 (12 years ago)
Author:
pjkersha
Message:

Reworking unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/unit/attributeauthority/test_attributeauthority.py

    r4840 r5290  
    2323mkPath = lambda file:jnPath(os.environ['NDGSEC_AA_UNITTEST_DIR'], file) 
    2424 
    25 from ndg.security.test import BaseTestCase 
     25from ndg.security.test.unit import BaseTestCase 
    2626 
    2727from ndg.security.common.utils.configfileparsers import \ 
     
    5656             
    5757        self.aa = AttributeAuthority( 
    58                                 propFilePath=self.cfg['setUp']['propFilePath'])             
     58                            propFilePath=self.cfg['setUp']['propFilePath'])             
    5959 
    6060    _mkSiteBAttributeAuthority = lambda self: AttributeAuthority(\ 
     
    8383        where the input role doesn't match any roles in the target AA's map  
    8484        config file""" 
    85         thisSection=self.cfg['test03GetTrustedHostInfoWithNoMatchingRoleFound'] 
     85        thisSection = self.cfg[ 
     86                            'test03GetTrustedHostInfoWithNoMatchingRoleFound'] 
    8687        try: 
    8788            trustedHostInfo = self.aa.getTrustedHostInfo(thisSection['role']) 
Note: See TracChangeset for help on using the changeset viewer.