When the env INSTALLER_TYPE is None, while the var installer in
dependencies is not None, the current test case should not be run.
Change-Id: If1b67f16f39d5c44b2c3729819dd665faed41b73
Signed-off-by: Linda Wang <wangwulin@huawei.com>
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: