Changeset 4717


Ignore:
Timestamp:
24/12/08 13:03:07 (11 years ago)
Author:
pjkersha
Message:

Moved test files to generic config directory.

Location:
TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority
Files:
3 deleted
2 edited

Legend:

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

    r4716 r4717  
    99 
    1010[DEFAULT] 
    11 siteBPropFilePath=$NDGSEC_AA_UNITTEST_DIR/siteB/siteBAttAuthority.cfg 
     11siteBPropFilePath=$NDGSEC_UNITTEST_DATA_DIR/attributeauthority/siteB/siteBAttAuthority.cfg 
    1212 
    1313[setUp] 
     
    4545 
    4646[test08GetMappedAttCertStressTest] 
     47issuingClntCertFilePath = $NDGSEC_AA_UNITTEST_DIR/user.crt 
    4748userAttCertFilePathList = $NDGSEC_AA_UNITTEST_DIR/ac-clnt.xml 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority/test_attributeauthority.py

    r4716 r4717  
    215215                          thisSection['userAttCertFilePathList'].split()] 
    216216 
     217        passed = True 
    217218        for acFilePath in acFilePathList: 
    218219            try: 
     
    228229                                             userAttCert=userAttCert) 
    229230            except Exception, e: 
     231                passed = True 
    230232                outFilePfx = 'test08GetMappedAttCertStressTest-%s' % \ 
    231233                        os.path.basename(acFilePath)     
    232234                msgFile = open(outFilePfx+".msg", 'w') 
    233235                msgFile.write('Failed for "%s": %s\n' % (acFilePath, e)) 
     236                 
     237        self.assert_(passed,  
     238                     "At least one Attribute Certificate request failed.  " 
     239                     "Check the .msg files in this directory") 
    234240                                         
    235241if __name__ == "__main__": 
Note: See TracChangeset for help on using the changeset viewer.