source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanager/sessionMgrTest.cfg @ 4734

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanager/sessionMgrTest.cfg@4734
Revision 4734, 1.8 KB checked in by pjkersha, 11 years ago (diff)

Refactored Session Manager unit tests separating out test files into the config dir.

Line 
1# NERC Data Grid Project
2#
3# P J Kershaw 12/01/07
4#
5# Copyright (C) 2007 STFC
6#
7# This software may be distributed under the terms of the Q Public License,
8# version 1.0 or later.
9#
10# $Id:$
11[DEFAULT]
12# For connect calls used to setup some of the unit tests
13username = testuser
14passphrase = testpassword
15userX509CertFilePath = $NDGSEC_SM_UNITTEST_DIR/user.crt
16userPriKeyFilePath = $NDGSEC_SM_UNITTEST_DIR/user.key
17userPriKeyPwd = testpassword
18
19[setUp]
20# Test with INI file - use of XML file likely to be deprecated
21propFilePath = $NDGSEC_SM_UNITTEST_DIR/sessionMgr.cfg
22
23[test01Connect2AuthNServiceWithNoUserX509CertReturned]
24# Alter username according to the MyProxy credentials you wish to test.  If
25# passphrase is commented out you will be prompted for it on the command line.
26# Note also setting for test3ConnectNoCreateServerSess test below. 
27username = testuser
28passphrase = testpassword
29
30[test02Connect2AuthNServiceReturningAUserX509Cert]
31outputCredsFilePath = user.creds
32
33[test04ConnectNoCreateServerSess]         
34username = testuser
35passphrase = testpassword
36
37[test07GetAttCertWithSessID]
38aaURI = http://localhost:5000/AttributeAuthority
39acOutputFilePath = $NDGSEC_SM_UNITTEST_DIR/ac-out.xml
40
41[test08GetAttCertRefusedWithSessID]
42aaURI = http://localhost:5100/AttributeAuthority
43
44[test09GetMappedAttCertWithSessID]
45aaURI = http://localhost:5100/AttributeAuthority
46
47[test10GetAttCertWithExtAttCertListWithSessID]
48aaURI = http://localhost:5100/AttributeAuthority
49# Use output from test07GetAttCertWithSessID!
50extACFilePath = $NDGSEC_SM_UNITTEST_DIR/ac-out.xml
51
52[test11GetAttCertWithUserX509Cert]
53aaURI = http://localhost:5000/AttributeAuthority
54
55[test12GetAttCertFromLocalAAInstance]
56aaPropFilePath = $NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/sitea/siteAAttributeAuthority.cfg
57acOutputFilePath = $NDGSEC_SM_UNITTEST_DIR/test12-ac-out.xml
Note: See TracBrowser for help on using the repository browser.