aboutsummaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-10-17 04:52:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-17 04:52:33 +0000
commit969e4500ad7fe516b1d89d97d36c4a6d851fb6c6 (patch)
tree1d5bc24d4e72d4fbba97d9a30cbbaef80c8a9696 /functest
parentbaf0e5f6d19205a122b69879e2bbf258393ebf86 (diff)
parent801a53baa1229fd4a88bb1aad692b86f536d970d (diff)
Merge "Enhance the compatibility judgement of INSTALLER"
Diffstat (limited to 'functest')
-rw-r--r--functest/ci/tier_handler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/functest/ci/tier_handler.py b/functest/ci/tier_handler.py
index dd3e77ce..cbabe63b 100644
--- a/functest/ci/tier_handler.py
+++ b/functest/ci/tier_handler.py
@@ -121,6 +121,9 @@ class TestCase(object):
def is_compatible(self, ci_installer, ci_scenario):
try:
+ if (self.is_none(ci_installer) and not
+ self.is_none(self.dependency.get_installer())):
+ return False
if not self.is_none(ci_installer):
if re.search(self.dependency.get_installer(),
ci_installer) is None: