Ignore:
Timestamp:
31/10/08 14:48:47 (12 years ago)
Author:
pjkersha
Message:
  • Fix to ConfigFileParsers? validateProperties - don't attempt to validate a section that's missing
  • sessionmanagerclient unit test: Session Manager WSGI test harness now working.
  • Fix to Attribute Authority rotating file handler for Attribute Certificate log - backup count setting now enabled correctly.
File:
1 edited

Legend:

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

    r4279 r4405  
    11Unit tests for NDG Credential Wallet Module 
    2 ================================================== 
     2=========================================== 
     3Test Attribute Authorities services must be started for *AttCert* named tests. 
     4  
     51) Two test Attribute Authority services are required.  These can be run from  
     6the Attribute Authority Client unit test directory.  It's path relative to this  
     7directory is ../attributeauthorityclient/.  Run each service in a separate  
     8window so that the output can be monitored: 
     9 
     10$ ../attributeauthorityclient/wsgi/siteAServerApp.py 
     11$ ../attributeauthorityclient/wsgi/siteBServerApp.py 
     12 
     135) Run the tests with the command: 
     14 
     15$ python ./test_credentialwallet.py 
     16 
     176) To run individual tests give the test method name: 
     18 
     19$ python ./test_credentialwallet.py CredentialWalletTestCase.test1ReadOnlyClassVariables 
     20 
     21Finally, 
     22 * See credWalletTest.cfg sets the unittest configuration 
     23 * credWallet.cfg sets the Credential Wallet's configuration 
     24 
     25Troubleshooting: 
     26 * http_proxy environment variable settings can cause connection problems to 
     27the Attribute Authorities.  unset http_proxy or set no_proxy: 
     28 
     29$ export no_proxy=http://localhost:5000/AttributeAuthority,http://localhost:5100/AttributeAuthority 
     30 
Note: See TracChangeset for help on using the changeset viewer.