'Verify the data we are indexing.'

def test_data_in_index(self):

    r = ReplyFactory(locale='de')
    self.refresh()
    eq_(ReplyMetricsMappingType.search().count(), 1)
    data = ReplyMetricsMappingType.search()[0]
    eq_(data['locale'], r.locale)
    eq_(data['creator_id'], r.user_id)
