'Testing GeoQuerySet.update(). See #10411.'

def test_update(self):

    pnt = City.objects.get(name=u'Pueblo').point
    bak = pnt.clone()
    pnt.y += 0.005
    pnt.x += 0.005
    City.objects.filter(name=u'Pueblo').update(point=pnt)
    self.assertEqual(pnt, City.objects.get(name=u'Pueblo').point)
    City.objects.filter(name=u'Pueblo').update(point=bak)
    self.assertEqual(bak, City.objects.get(name=u'Pueblo').point)
