X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=functest%2Fopnfv_tests%2Ffeatures%2Fdomino.py;fp=functest%2Fopnfv_tests%2Ffeatures%2Fdomino.py;h=b5def3f3b7a15c0b86c5b322c54d69fbb8dba97b;hb=888271575907898d80081e69b37f879091a636fc;hp=629c8d54cfddf5393ad6823dade8065ca4559c12;hpb=96bacd7d8ffb9c05672c0a1fc6e68d19e4a6793a;p=functest.git diff --git a/functest/opnfv_tests/features/domino.py b/functest/opnfv_tests/features/domino.py index 629c8d54c..b5def3f3b 100644 --- a/functest/opnfv_tests/features/domino.py +++ b/functest/opnfv_tests/features/domino.py @@ -15,10 +15,11 @@ # 0.4: refactoring to match Test abstraction class import functest.core.feature as base +from functest.utils.constants import CONST -class Domino(base.Feature): +class Domino(base.BashFeature): def __init__(self, **kwargs): - kwargs["repo"] = 'dir_repo_domino' + repo = CONST.__getattribute__('dir_repo_domino') + kwargs["cmd"] = 'cd %s && ./tests/run_multinode.sh' % repo super(Domino, self).__init__(**kwargs) - self.cmd = 'cd %s && ./tests/run_multinode.sh' % self.repo