'Testing GeoQuerySet.geohash().'

@no_mysql
@no_oracle
@no_spatialite
def test30_geohash(self):

    if (not connection.ops.geohash):
        return
    ref_hash = '9vk1mfq8jx0c8e0386z6'
    h1 = City.objects.geohash().get(name='Houston')
    h2 = City.objects.geohash(precision=5).get(name='Houston')
    self.assertEqual(ref_hash, h1.geohash)
    self.assertEqual(ref_hash[:5], h2.geohash)
