'Compare multi search with simple single query.'

def test_TermQuery_simple_multi(self):

    q = TermQuery('name', 'joe')
    resultset_single = self.conn.search(query=q, indices=self.index_name)
    self.assertEqual(resultset_single.total, 1)
    resultset_multi = self.conn.search_multi([q], indices_list=[self.index_name])
    resultset_multi._do_search()
    self.assertTrue(resultset_multi.valid)
    self.assertEqual(resultset_multi[0].total, 1)
    self.assertDictEqual(resultset_multi[0][0], resultset_single[0])
