Ignore:
Timestamp:
29/09/08 16:05:29 (11 years ago)
Author:
pjkersha
Message:

Working unit tests for WSGI based Attribute Authority.

  • Altered so that all Attribute Config is picked up from the Paste ini file. Separate cfg or xml based config file is still supported.

TODO:

  • Simplify unit test config for client.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attAuthority/wsgi/siteBServerApp.py

    r4238 r4245  
    1616def infoApp(environ, start_response): 
    1717    start_response('200 OK', [('Content-type', 'text/plain')]) 
    18     return "NDG Security Attribute Authority Unit Tests: Site A Server" 
     18    return "NDG Security Attribute Authority Unit Tests: Site B Server" 
    1919 
    2020def app_factory(global_config, **local_conf): 
     
    3232                                     "siteBAttAuthorityProperties.xml") 
    3333 
    34 # To start the Site A Attribute Authority run  
    35 # $ paster serve site-a.ini or run this file as a script 
    36 # $ ./siteAServerApp.py [port #] 
     34# To start the Site B Attribute Authority run  
     35# $ paster serve site-b.ini or run this file as a script 
     36# $ ./siteBServerApp.py [port #] 
    3737if __name__ == '__main__': 
    3838    import sys 
     39    import logging 
     40    logging.basicConfig(level=logging.DEBUG) 
     41 
    3942    if len(sys.argv) > 1: 
    4043        port = int(sys.argv[1]) 
Note: See TracChangeset for help on using the changeset viewer.