From: SerenaFeng Date: Tue, 22 Nov 2016 10:15:34 +0000 (+0800) Subject: bugfix: domino test can not be executed X-Git-Tag: danube.1.RC1~300^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F65%2F24665%2F2;p=functest.git bugfix: domino test can not be executed fix args is type Namespace problem Change-Id: I4e3786d86bd9fca6697c900f60f4c0f357dcb2bd Signed-off-by: SerenaFeng --- diff --git a/functest/ci/exec_test.sh b/functest/ci/exec_test.sh index 234a4d241..87216201a 100644 --- a/functest/ci/exec_test.sh +++ b/functest/ci/exec_test.sh @@ -156,9 +156,6 @@ function run_test(){ $clean_flag -s -m feature_multisite $report \ -c ${FUNCTEST_TEST_DIR}/OpenStack/tempest/tempest_multisite.conf ;; - "domino") - python ${FUNCTEST_TEST_DIR}/features/domino.py $report - ;; "odl-sfc") pip install --upgrade python-keystoneclient==1.7.4 ODL_SFC_DIR=${FUNCTEST_TEST_DIR}/features/sfc diff --git a/functest/opnfv_tests/features/domino.py b/functest/opnfv_tests/features/domino.py index 445a7a640..be3dd549a 100755 --- a/functest/opnfv_tests/features/domino.py +++ b/functest/opnfv_tests/features/domino.py @@ -31,6 +31,7 @@ class DominoCases(TestCasesBase.TestCasesBase): logger = ft_logger.Logger("domino").getLogger() def __init__(self): + super(DominoCases, self).__init__() self.project_name = "domino" self.case_name = "domino-multinode" @@ -70,7 +71,7 @@ if __name__ == '__main__': parser.add_argument("-r", "--report", help="Create json result file", action="store_true") - args = parser.parse_args() + args = vars(parser.parse_args()) domino = DominoCases() try: result = domino.main(**args)