Ignore:
Timestamp:
05/01/09 10:08:10 (12 years ago)
Author:
pjkersha
Message:
  • Refactored Credential Wallet unit tests separating out test files into the config dir.
  • Fix to ndg.security.common.wssecurity.BaseSignatureHandler?.BaseSignatureHandler? for is exclusive C14N tests - default to True until inclusive C14N is fixed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthorityclient/README

    r4462 r4732  
    33The test client connects to two different test Attribute Authorities 
    44corresponding to the fictitious Service Providers Site "A" and Site "B".  Each 
    5 has its own respective properties file.   
     5has its own respective configuration.  As they are also used in other tests, 
     6this configuration is held in a separate config/ directory parallel to this 
     7one.  
    68 
    79These services must be started before running the unit tests.  Start a terminal 
    810in this directory and run: 
    911 
    10 $ python ./siteA/siteAServerApp.py 
     12$ python ../config/attributeauthority/sitea/siteAServerApp.py 
    1113 
    1214...and in a separate terminal: 
    1315 
    14 $ python ./siteB/siteBServerApp.py 
     16$ python ../config/attributeauthority/siteb/siteBServerApp.py 
    1517 
    16 Configuration for these services is held in the files ./siteA/site-a.ini and 
    17 ./siteB/site-b.ini respectively. 
     18Configuration for these services is held in the files  
     19 
     20../config/attributeauthority/sitea/site-a.ini and 
     21../config/attributeauthority/siteb/site-b.ini  
     22 
     23respectively. 
    1824 
    1925Note however that the siteBServerApp.py is only needed for tests for getting  
    20 mapped attribute certificates: test7GetMappedAttCert and  
    21 test8GetMappedAttCertStressTest 
     26mapped attribute certificates: test07GetMappedAttCert and  
     27test08GetMappedAttCertStressTest 
    2228 
    2329Settings for the client to these services are configured with the file 
     
    4046Tests can be run individually e.g. 
    4147 
    42 $ python ./test_attributeauthorityclient.py AttributeAuthorityClientTestCase.test1GetX509Cert 
     48$ python ./test_attributeauthorityclient.py AttributeAuthorityClientTestCase.test01GetHostInfo 
    4349 
    44 Running Services with the Twisted Application Server 
    45 ==================================================== 
    46 Services have been ported from the Twisted Application Server to run with a 
    47 WSGI wrapper under Paste.  Paste scripts are held in the siteA/ and siteB/ 
    48 sub-directories and the previous Twisted based ones in twisted/.  The latter  
    49 are *untested* and may be removed from future releases of NDG-Security. 
    50  
    51 P J Kershaw 31/10/08 
     50P J Kershaw 24/12/08 
Note: See TracChangeset for help on using the changeset viewer.