def test_marqoAddDocumentsResponseDictFormat(self):
        """A test to verify that the MarqoAddDocumentsResponse is serialised correctly."""
        item = MarqoAddDocumentsItem(status=200, id="id", message="message", error="error", code="code")
        res = MarqoAddDocumentsResponse(errors=False, processingTimeMs=0.0, index_name="index_name", items=[item])

        returned_dict = res.dict(exclude_none=True, by_alias=True)
        expected_dict = {
            "errors": False,
            "processingTimeMs": 0.0,
            "index_name": "index_name",
            "items": [
                {
                    "status": 200,
                    "_id": "id",
                    "message": "message",
                    "error": "error",
                    "code": "code"
                }
            ]
        }
        self.assertEqual(expected_dict, returned_dict)
A test to verify that the MarqoAddDocumentsResponse is serialised correctly.
tests/integ_tests/core/document/test_documents_common.py