diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2017-06-07 16:12:41 +0200 |
---|---|---|
committer | Thomas Sounapoglou <tomsou82@gmail.com> | 2017-09-04 11:20:14 +0300 |
commit | 56107fbfd2c991cc00d999fb3b081c979f56db86 (patch) | |
tree | 9d18b2ab64ffedc7ad1455264321da256d2b2f63 /sdnvpn/test/functest/testcase_8.py | |
parent | fbbc9af8629f7521561ef16ed13484175ec2d723 (diff) |
Adapt SDNVPN Functest test according to new framework
- Inherit from TestCase class in Functest
- Remove any push to DB method, since Functest
takes care of it
After this change, we will be able to load this module
from Functest and make a python call instead of
a bash call.
Change-Id: I80bdb7eaac3a2d1f48e32bafa381a42cadb36138
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'sdnvpn/test/functest/testcase_8.py')
-rw-r--r-- | sdnvpn/test/functest/testcase_8.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sdnvpn/test/functest/testcase_8.py b/sdnvpn/test/functest/testcase_8.py index 11f13bb..773f73c 100644 --- a/sdnvpn/test/functest/testcase_8.py +++ b/sdnvpn/test/functest/testcase_8.py @@ -18,7 +18,6 @@ Test whether router assoc can coexist with floating IP - Assign a floating IP to the VM in the router assoc network - Ping it the floating ip """ -import argparse import logging import sys @@ -27,15 +26,8 @@ from sdnvpn.lib import config as sdnvpn_config from sdnvpn.lib import utils as test_utils from sdnvpn.lib.results import Results -parser = argparse.ArgumentParser() -parser.add_argument("-r", "--report", - help="Create json result file", - action="store_true") - -args = parser.parse_args() - -logger = logging.getLogger('sdnvpn-testcase-8') +logger = logging.getLogger(__name__) COMMON_CONFIG = sdnvpn_config.CommonConfig() TESTCASE_CONFIG = sdnvpn_config.TestcaseConfig('testcase_8') |