Ignore:
Timestamp:
19/05/06 18:40:30 (14 years ago)
Author:
pjkersha
Message:

Tests/GatekeeperClientTest?.py: test Gatekeeper WS client.

Tests/AttAuthorityClientTest?.py: renamed methods so that called automatically when script is
invoked with no args.

Tests/SecurityClientTest?.py: set user to 'laurence' in order to get ACs with more roles set.

bin/LogServer.py: typo fix logs -> log

bin/GatekeeperServer.py: working version

NDG/TestGatekeeperResrc.py: test harness for Gatekeeper resource interface

NDG/gatekeeper_services_server.py: working but logic for returning matching roles needs fixing.

NDG/GatekeeperClient.py: client interface class to Gatekeeper WS.

NDG/Gatekeeper.py: working version

NDG/gatekeeper_services.py: regenerated following changes to WSDL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/Tests/AttAuthorityClientTest.py

    r848 r968  
    4040     
    4141     
    42     def getPubKeyTest(self): 
     42    def testGetPubKey(self): 
    4343        try: 
    4444            # Request an attribute certificate from an Attribute Authority  
     
    5959 
    6060 
    61     def getTrustedHostInfoTest(self): 
     61    def testGetTrustedHostInfo(self): 
    6262         
    6363        try: 
     
    6767 
    6868 
    69     def reqAuthorisationTest(self):         
     69    def testReqAuthorisation(self):         
    7070        """Request authorisation from NDG Attribute Authority Web Service.""" 
    7171     
     
    105105                 
    106106            except IOError, ioErr: 
    107                 raise "Error reading attribute certificate file \"%s\": %s" % \ 
     107                raise "Error reading attribute certificate file \"%s\": %s" %\ 
    108108                                        (ioErr.filename, ioErr.strerror) 
    109109        else: 
     
    130130        map = map(attAuthorityClientTestCase, 
    131131                  ( 
    132                     "getTrustedHostInfoTest", 
    133                     "reqAuthorisationTest", 
    134                     "getPubKeyTest", 
     132                    "testGetTrustedHostInfo", 
     133                    "testReqAuthorisation", 
     134                    "testGetPubKey", 
    135135                  )) 
    136136        unittest.TestSuite.__init__(self, map) 
Note: See TracChangeset for help on using the changeset viewer.