'Test getting cluster without summary information.'

def test_cluster_get_without_summary(self):

    cluster = utils.create_cluster(self.ctxt)
    db_cluster = db.cluster_get(self.ctxt, cluster.id)
    self.assertRaises(exc.DetachedInstanceError, getattr, db_cluster, 'num_hosts')
    self.assertRaises(exc.DetachedInstanceError, getattr, db_cluster, 'num_down_hosts')
    self.assertIsNone(db_cluster.last_heartbeat)
