'Adding an answer should add it to the index.
Deleting should delete it.'

def test_add_and_delete(self):

    a = AnswerFactory()
    self.refresh()
    eq_(AnswerMetricsMappingType.search().count(), 1)
    a.delete()
    self.refresh()
    eq_(AnswerMetricsMappingType.search().count(), 0)
