Ignore:
Timestamp:
22/01/10 15:36:40 (11 years ago)
Author:
pjkersha
Message:

Refactoring base signature handler

Location:
TI12-security/trunk/WSSecurity/ndg/wssecurity
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/WSSecurity/ndg/wssecurity/test/unit/wssecurity/foursuite/client/test_echoclient.py

    r6069 r6378  
    1616import os 
    1717import sys 
    18 import traceback 
     18import unittest 
    1919 
    20 from os.path import expandvars as xpdVars 
    2120from os.path import join, dirname, abspath 
    2221mkPath = lambda file: join(os.environ['NDGSEC_WSSECLNT_UNITTEST_DIR'], file) 
     
    2625from EchoService_services import EchoServiceLocator 
    2726 
    28 from ndg.security.test.unit import BaseTestCase 
    2927from ndg.security.common.wssecurity.signaturehandler.foursuite import \ 
    3028    SignatureHandler 
     
    3432    DomletteElementProxy 
    3533 
    36 class EchoClientTestCase(BaseTestCase): 
     34 
     35class EchoClientTestCase(unittest.TestCase): 
    3736     
    3837    def setUp(self): 
     
    5857         
    5958        # Signature handler object is passed to binding 
    60         sigHandler = SignatureHandler(cfg=configFilePath, 
    61                                       cfgFileSection='setUp') 
     59        sigHandler = SignatureHandler.fromConfigFile(configFilePath, 
     60                                                     section='setUp') 
    6261 
    6362        locator = EchoServiceLocator() 
Note: See TracChangeset for help on using the changeset viewer.