diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-02-25 19:39:08 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-02-25 22:58:38 +0100 |
commit | 9262d3c0ee23aa5b79dbf790162134acccb5c42b (patch) | |
tree | 827d6d516f416a04f46a73f0d5d00af98a1d1f03 | |
parent | d4efec0554d8ba66d71d67626630ff9cc0761da2 (diff) |
Remove useless vyos_vrouter output dir
It doesn't store any file.
Change-Id: I94801508a11edb8f0bbff7e4319c4d50411ec715
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r-- | functest/opnfv_tests/vnf/router/cloudify_vrouter.py | 3 | ||||
-rw-r--r-- | functest/opnfv_tests/vnf/router/vrouter_base.py | 8 |
2 files changed, 2 insertions, 9 deletions
diff --git a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py index ff26f55f1..aaaeba0f7 100644 --- a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py +++ b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py @@ -215,8 +215,7 @@ class CloudifyVrouter(cloudify.Cloudify): def test_vnf(self): start_time = time.time() - testing = vrouter_base.VrouterOnBoardingBase( - self.case_name, self.util, self.util_info) + testing = vrouter_base.VrouterOnBoardingBase(self.util, self.util_info) result, test_result_data = testing.test_vnf() duration = time.time() - start_time if result: diff --git a/functest/opnfv_tests/vnf/router/vrouter_base.py b/functest/opnfv_tests/vnf/router/vrouter_base.py index e8a933ff5..8cfab341e 100644 --- a/functest/opnfv_tests/vnf/router/vrouter_base.py +++ b/functest/opnfv_tests/vnf/router/vrouter_base.py @@ -19,7 +19,6 @@ import time import pkg_resources -from functest.utils import config from functest.opnfv_tests.vnf.router.test_controller import function_test_exec __author__ = "Shuya Nakama <shuya.nakama@okinawaopenlabs.org>" @@ -28,19 +27,14 @@ __author__ = "Shuya Nakama <shuya.nakama@okinawaopenlabs.org>" class VrouterOnBoardingBase(object): """vrouter testing base class""" - def __init__(self, case_name, util, util_info): + def __init__(self, util, util_info): self.logger = logging.getLogger(__name__) self.case_dir = pkg_resources.resource_filename( 'functest', 'opnfv_tests/vnf/router') - self.result_dir = os.path.join( - getattr(config.CONF, 'dir_results'), case_name) self.util = util self.util_info = util_info self.vnf_list = [] - if not os.path.exists(self.result_dir): - os.makedirs(self.result_dir) - def test_vnf(self): """vrouter test execution""" result = False |