def test_indexNotFoundErrorNotRaised(self):
        """Test to ensure index_not_found error is not raised but returned as message in delete_index response"""
        index_name = "test_index_" + str(uuid.uuid4())
        res = self.client.delete_index(index_name=index_name)
        self.assertEqual(res["message"], f"Index {index_name} not found")
        self.assertEqual(res["code"], "index_not_found")
Test to ensure index_not_found error is not raised but returned as message in delete_index response
tests/api_tests/v1/tests/api_tests/test_create_index.py