source: TI12-security/trunk/NDGSecurity/python/Tests/authtest/authtest/websetup.py @ 7080

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/Tests/authtest/authtest/websetup.py@7080
Revision 7080, 411 bytes checked in by pjkersha, 9 years ago (diff)
  • Property svn:keywords set to Id
Line 
1"""Setup the authtest application"""
2import logging
3
4from paste.deploy import appconfig
5from pylons import config
6
7from authtest.config.environment import load_environment
8
9log = logging.getLogger(__name__)
10
11def setup_config(command, filename, section, vars):
12    """Place any commands to setup authtest here"""
13    conf = appconfig('config:' + filename)
14    load_environment(conf.global_conf, conf.local_conf)
Note: See TracBrowser for help on using the repository browser.