You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/04/08 22:37:51 UTC

[2/4] allura git commit: [#7864] remove annoying ew.render logging, by configuring logging before initializing EW

[#7864] remove annoying ew.render logging, by configuring logging before initializing EW


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/f0d719f1
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/f0d719f1
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/f0d719f1

Branch: refs/heads/db/7864
Commit: f0d719f168aaf83b9aa9736d5a5a3f0956897105
Parents: e11a61b
Author: Dave Brondsema <da...@brondsema.net>
Authored: Tue Apr 7 15:36:38 2015 -0400
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Wed Apr 8 16:37:36 2015 -0400

----------------------------------------------------------------------
 AlluraTest/alluratest/controller.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/f0d719f1/AlluraTest/alluratest/controller.py
----------------------------------------------------------------------
diff --git a/AlluraTest/alluratest/controller.py b/AlluraTest/alluratest/controller.py
index 0f13c5d..4a8f983 100644
--- a/AlluraTest/alluratest/controller.py
+++ b/AlluraTest/alluratest/controller.py
@@ -88,10 +88,10 @@ def setup_basic_test(config=None, app_name=DFL_APP_NAME):
         conf_dir = tg.config.here
     except AttributeError:
         conf_dir = os.getcwd()
-    ew.TemplateEngine.initialize({})
     test_file = os.path.join(conf_dir, get_config_file(config))
     cmd = SetupCommand('setup-app')
     cmd.run([test_file])
+    ew.TemplateEngine.initialize({})
 
     # run all tasks, e.g. indexing from bootstrap operations
     while M.MonQTask.run_ready('setup'):