Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/pylonsapp/pylonsapp/websetup.py@7077
Revision 7077,
425 bytes
checked in by pjkersha, 11 years ago
(diff) |
|
-
Property svn:keywords set to
Id
|
Line | |
---|
1 | """Setup the pylonsapp application""" |
---|
2 | import logging |
---|
3 | |
---|
4 | import pylons.test |
---|
5 | |
---|
6 | from pylonsapp.config.environment import load_environment |
---|
7 | |
---|
8 | log = logging.getLogger(__name__) |
---|
9 | |
---|
10 | def setup_app(command, conf, vars): |
---|
11 | """Place any commands to setup pylonsapp here""" |
---|
12 | # Don't reload the app if it was loaded under the testing environment |
---|
13 | if not pylons.test.pylonsapp: |
---|
14 | load_environment(conf.global_conf, conf.local_conf) |
---|
Note: See
TracBrowser
for help on using the repository browser.