def test_doc_too_large_none_env_var(self):
        """
        If MARQO_MAX_DOC_BYTES is not set, then the default is used
        """
        # TODO - Consider removing this test as indexing a standard doc is covered by many other tests
        for env_dict in [dict()]:
            @mock.patch.dict(os.environ, {**os.environ, **env_dict})
            def run():
                update_res = self.add_documents(
                    config=self.config, add_docs_params=AddDocsParams(
                        index_name=self.default_text_index, docs=[
                            {"_id": "123", 'desc': "Some content"},
                        ],
                        use_existing_tensors=True, device="cpu", tensor_fields=["desc"]
                    )).dict(exclude_none=True, by_alias=True)
                items = update_res['items']
                assert not update_res['errors']
                assert 'error' not in items[0]
                assert items[0]['status'] == 200
                return True

            assert run()

        If MARQO_MAX_DOC_BYTES is not set, then the default is used
        
tests/integ_tests/tensor_search/integ_tests/test_add_documents_unstructured.py