summaryrefslogtreecommitdiff
path: root/service/test/functional/features/environment.py
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-11-06 14:56:57 -0200
committerDuda Dornelles <ddornell@thoughtworks.com>2014-11-06 14:57:09 -0200
commitda869f1efe3f623a52dd5a432f984f7780ea6149 (patch)
treef84c8365d4cb8a9ce3839be470363147e73c8fa8 /service/test/functional/features/environment.py
parent870e5ce9da3b786c590cdee2ead02bbbdafcce3d (diff)
improving log and logging to file on functional tests
Diffstat (limited to 'service/test/functional/features/environment.py')
-rw-r--r--service/test/functional/features/environment.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/test/functional/features/environment.py b/service/test/functional/features/environment.py
index 19e2a6f0..cb9e0876 100644
--- a/service/test/functional/features/environment.py
+++ b/service/test/functional/features/environment.py
@@ -33,7 +33,8 @@ def before_all(context):
pixelated.controllers.features_controller.FeaturesController.DISABLED_FEATURES.append('autoRefresh')
logging.disable('INFO')
- worker = lambda app, port: pixelated.runserver.app.run(host='localhost', port=4567)
+ worker = lambda app, port: pixelated.runserver.app.run(host='localhost', port=4567,
+ logFile=open('/tmp/behave-tests.log', 'w'))
context._process = multiprocessing.Process(target=worker, args=(context.app, 4567))
context._process.start()