'Tests LayerMapping on inherited models.  See #12093.'

def test06_model_inheritance(self):

    icity_mapping = {'name': 'Name', 'population': 'Population', 'density': 'Density', 'point': 'POINT', 'dt': 'Created'}
    lm1 = LayerMapping(ICity1, city_shp, icity_mapping)
    lm1.save()
    lm2 = LayerMapping(ICity2, city_shp, icity_mapping)
    lm2.save()
    self.assertEqual(6, ICity1.objects.count())
    self.assertEqual(3, ICity2.objects.count())
