'Test getting cluster with summary information.'

def test_cluster_get_with_summary(self):

    (cluster, svcs) = utils.create_populated_cluster(self.ctxt, 3, 1)
    db_cluster = db.cluster_get(self.ctxt, cluster.id, services_summary=True)
    self.assertEqual(3, db_cluster.num_hosts)
    self.assertEqual(1, db_cluster.num_down_hosts)
    self.assertEqual(svcs[1].updated_at, db_cluster.last_heartbeat)
