'Testing an indexing given an ID'

def testIndexingWithID(self):

    result = self.conn.index({'name': 'Joe    Tester'}, self.index_name, self.document_type, 1)
    self.assertResultContains(result, {'_type': 'test-type', '_id': '1', 'ok': True, '_index': 'test-index'})
