def test_add_documents_empty(self):
        """
        Test that adding an empty list of documents fails with bad_request
        """
        with self.assertRaises(MarqoWebError) as e:
            self.client.index(self.text_index_name).add_documents(documents=[])
        assert "bad_request" in str(e.exception.message)

        Test that adding an empty list of documents fails with bad_request
        
tests/api_tests/v1/tests/api_tests/structured_index/test_add_documents.py