From 7c79dd75b519ac22483de76b4433a9923da68ef6 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 5 Apr 2017 15:32:58 +0200 Subject: Add case_name as args in all features MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now run_tests.py forces case_name as arg of every TestCase or Feature. It also updates the related unit tests. Change-Id: I4d70005b53730f36785f0ac95f4f0f6a04455794 Signed-off-by: Cédric Ollivier --- functest/opnfv_tests/features/domino.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functest/opnfv_tests/features/domino.py') diff --git a/functest/opnfv_tests/features/domino.py b/functest/opnfv_tests/features/domino.py index cf5f23d1..1c620235 100644 --- a/functest/opnfv_tests/features/domino.py +++ b/functest/opnfv_tests/features/domino.py @@ -18,8 +18,8 @@ import functest.core.feature as base class Domino(base.Feature): - def __init__(self): + def __init__(self, case_name='domino-multinode'): super(Domino, self).__init__(project='domino', - case_name='domino-multinode', + case_name=case_name, repo='dir_repo_domino') self.cmd = 'cd %s && ./tests/run_multinode.sh' % self.repo -- cgit 1.2.3-korg