'Test KML() function with Z values.'

def test_kml(self):

    self._load_city_data()
    h = City3D.objects.annotate(kml=AsKML('point', precision=6)).get(name='Houston')
    ref_kml_regex = re.compile('^<Point><coordinates>-95.363\\d+,29.763\\d+,18</coordinates></Point>$')
    self.assertTrue(ref_kml_regex.match(h.kml))
