aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2019-11-16 13:36:34 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-11-16 13:36:34 +0000
commitf9686785b8b043960a192a37e4f78d83fde2e656 (patch)
tree6b7a49efaa71f9ebb9acb5188e25a4520183bb7f
parentdab4b15d79d94fa2eff900d27fc3e11f4732e89e (diff)
parent793e17835b948be7c421d6b9e766878e82e56fa7 (diff)
Merge "Correctly override dir_results and res_dir"
-rw-r--r--functest/core/tenantnetwork.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/core/tenantnetwork.py b/functest/core/tenantnetwork.py
index e619ce9c9..b4818d76f 100644
--- a/functest/core/tenantnetwork.py
+++ b/functest/core/tenantnetwork.py
@@ -152,8 +152,8 @@ class TenantNetwork1(testcase.TestCase):
if "case_name" not in kwargs:
kwargs["case_name"] = 'tenantnetwork1'
super(TenantNetwork1, self).__init__(**kwargs)
- self.res_dir = os.path.join(
- getattr(config.CONF, 'dir_results'), self.case_name)
+ self.dir_results = os.path.join(getattr(config.CONF, 'dir_results'))
+ self.res_dir = os.path.join(self.dir_results, self.case_name)
self.output_log_name = 'functest.log'
self.output_debug_log_name = 'functest.debug.log'
try: