'Filter out the cloud tests when the necessary config and resources are not available.
:type targets: tuple[TestTarget]
:type exclude: list[str]'

def filter(self, targets, exclude):

    skip = ('cloud/%s/' % self.platform)
    skipped = [target.name for target in targets if (skip in target.aliases)]
    if skipped:
        exclude.append(skip)
        display.warning(('Excluding    tests    marked    "%s"    which    require    config    (see    "%s"):    %s' % (skip.rstrip('/'), self.config_template_path, ',    '.join(skipped))))
