aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features/domino.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-11-22 18:15:34 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-11-22 18:51:46 +0800
commit32efcccb9ac10b8105ff00dfe5c5b04b4a8575e1 (patch)
tree550dd7044a64bd760de2608d019db7e4f1a3e79e /functest/opnfv_tests/features/domino.py
parent67902c82571b80522c16844df91a9b4699eb91a2 (diff)
bugfix: domino test can not be executed
fix args is type Namespace problem Change-Id: I4e3786d86bd9fca6697c900f60f4c0f357dcb2bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'functest/opnfv_tests/features/domino.py')
-rwxr-xr-xfunctest/opnfv_tests/features/domino.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/functest/opnfv_tests/features/domino.py b/functest/opnfv_tests/features/domino.py
index 445a7a64..be3dd549 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)