Ignore:
Timestamp:
15/02/10 12:39:45 (11 years ago)
Author:
pjkersha
Message:

Changes for addition of AuthzDecisionQuery? WSGI interface (Authorisation service)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/saml/__init__.py

    r6574 r6575  
    99__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1010__revision__ = '$Id: $' 
    11 import unittest 
    1211import os 
    1312import paste.fixture 
    1413from paste.deploy import loadapp 
    1514 
     15from ndg.security.test.unit import BaseTestCase 
    1616 
    1717class TestApp(object): 
     
    2828 
    2929 
    30 class SOAPAttributeInterfaceMiddlewareTestCase(unittest.TestCase): 
     30class SoapSamlInterfaceMiddlewareTestCase(BaseTestCase): 
    3131    HERE_DIR = os.path.dirname(os.path.abspath(__file__)) 
    3232    CONFIG_FILENAME = 'test.ini' 
    3333     
    3434    def __init__(self, *args, **kwargs): 
    35         wsgiapp = loadapp( 
    36             'config:%s' % \ 
    37                 SOAPAttributeInterfaceMiddlewareTestCase.CONFIG_FILENAME,  
    38             relative_to=SOAPAttributeInterfaceMiddlewareTestCase.HERE_DIR) 
     35        wsgiapp = loadapp('config:%s' % self.__class__.CONFIG_FILENAME,  
     36                          relative_to=self.__class__.HERE_DIR) 
    3937         
    4038        self.app = paste.fixture.TestApp(wsgiapp) 
Note: See TracChangeset for help on using the changeset viewer.