'Test that is_up filter works when all services are down.'

def test_cluster_get_is_up_all_are_down(self):

    (cluster, svcs) = utils.create_populated_cluster(self.ctxt, 3, 3)
    self.assertRaises(exception.ClusterNotFound, db.cluster_get, self.ctxt, cluster.id, is_up=True)
    db_cluster = db.cluster_get(self.ctxt, name=cluster.name, is_up=False)
    self.assertEqual(cluster.id, db_cluster.id)
