'Check that the result from adding multiple documents is parsed
correctly.'

def test_cloudsearch_add_results(self):

    document = DocumentServiceConnection(endpoint='doc-demo-userdomain.us-east-1.cloudsearch.amazonaws.com')
    for (key, obj) in self.objs.items():
        document.add(key, obj['fields'])
    doc = document.commit()
    self.assertEqual(doc.status, 'success')
    self.assertEqual(doc.adds, len(self.objs))
    self.assertEqual(doc.deletes, 0)
