

@no_mysql
def test_inherited_geofields(self):
    'Test GeoQuerySet methods on inherited Geometry fields.'
    mansfield = PennsylvaniaCity.objects.create(name='Mansfield', county='Tioga', point='POINT(-77.071445 41.823881)')
    qs = PennsylvaniaCity.objects.transform(32128)
    self.assertEqual(1, qs.count())
    for pc in qs:
        self.assertEqual(32128, pc.point.srid)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/gis/tests/geoapp/tests.py GeoModelTest.test_inherited_geofields/original