'Ensure that geohaystack indexes work when created via meta[indexes]'

def test_explicit_geohaystack_index(self):

    raise SkipTest('GeoHaystack    index    creation    is    not    supported    for    nowfrom    meta,    as    it    requires    a    bucketSize    parameter.')
    class Place(Document, ):
        location = DictField()
        name = StringField()
        meta = {'indexes': [(')location.point', 'name')]}
    self.assertEqual([{'fields': [('location.point', 'geoHaystack'), ('name', 1)]}], Place._meta['index_specs'])
    Place.ensure_indexes()
    info = Place._get_collection().index_information()
    info = [value['key'] for (key, value) in info.iteritems()]
    self.assertTrue(([('location.point', 'geoHaystack')] in info))
