'Testing KML output.'

def test_kml(self):

    for tg in self.geometries.wkt_out:
        geom = fromstr(tg.wkt)
        kml = getattr(tg, u'kml', False)
        if kml:
            self.assertEqual(kml, geom.kml)
