'Tests all cases by manually loading a cluster template using the
Cluster class. All settings for a case are passed in as constructor
keywords.  Avoids the config module by using the Cluster object
directly to create a test case.'

def __test_cases_from_cluster(self, cases, test):

    failed = []
    for case in cases:
        cluster = Cluster(**case)
        try:
            getattr(cluster.validator, test)()
        except exception.ClusterValidationError:
            continue
        else:
            failed.append(case)
    return failed
