summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2018-04-20 07:55:29 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-20 07:55:29 +0000
commitf97acea68b7e4be6f4c1f56214c3e2445cba5360 (patch)
tree27ab6e0b500cdfb063b76d44a97451ff259a17d5
parent7e208b21593d98b9b9600c7616b74f4cf4b3cfbf (diff)
parent32877776e763e225ff3d1b43854de3abfe8608f9 (diff)
Merge "Update log config for Restapi"
-rw-r--r--functest/api/resources/v1/testcases.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/api/resources/v1/testcases.py b/functest/api/resources/v1/testcases.py
index 2dbf97e4d..43340625b 100644
--- a/functest/api/resources/v1/testcases.py
+++ b/functest/api/resources/v1/testcases.py
@@ -146,12 +146,12 @@ class V1Testcase(ApiResource):
""" Update the log file for each task"""
rconfig = ConfigParser.RawConfigParser()
rconfig.read(
- pkg_resources.resource_filename('functest', 'ci/logging.ini'))
+ pkg_resources.resource_filename('xtesting', 'ci/logging.ini'))
log_path = os.path.join(getattr(config.CONF, 'dir_results'),
'{}.log'.format(task_id))
rconfig.set('handler_file', 'args', '("{}",)'.format(log_path))
with open(
pkg_resources.resource_filename(
- 'functest', 'ci/logging.ini'), 'wb') as configfile:
+ 'xtesting', 'ci/logging.ini'), 'wb') as configfile:
rconfig.write(configfile)