From cb2b84b57222b7f808c2077ff5006bb67b4debb6 Mon Sep 17 00:00:00 2001 From: Xiaowu Zhang <xiaowu.zhang@nexedi.com> Date: Mon, 21 May 2018 20:11:40 +0200 Subject: [PATCH] testIngestion: conversion server url is in list format --- product/ERP5OOo/tests/testIngestion.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ERP5OOo/tests/testIngestion.py b/product/ERP5OOo/tests/testIngestion.py index c3842b9e0a..5acee2bc1e 100644 --- a/product/ERP5OOo/tests/testIngestion.py +++ b/product/ERP5OOo/tests/testIngestion.py @@ -35,7 +35,7 @@ from lxml import etree from DateTime import DateTime from Products.ERP5Type.Utils import convertToUpperCase from Products.ERP5Type.tests.ERP5TypeTestCase import ( - ERP5TypeTestCase, _getConversionServerUrl) + ERP5TypeTestCase, _getConversionServerUrlList) from Products.ERP5Type.tests.Sequence import SequenceList from Products.ERP5Type.tests.utils import FileUpload, createZODBPythonScript from Products.ERP5OOo.OOoUtils import OOoBuilder @@ -1040,8 +1040,8 @@ class TestIngestion(ERP5TypeTestCase): Make sure that preferences are set up properly and accessible """ preference_tool = self.portal.portal_preferences - self.assertEqual(preference_tool.getPreferredDocumentConversionServerUrl(), - _getConversionServerUrl()) + self.assertEqual(preference_tool.getPreferredDocumentConversionServerUrlList(), + _getConversionServerUrlList()) self.assertEqual(preference_tool.getPreferredDocumentFilenameRegularExpression(), FILENAME_REGULAR_EXPRESSION) self.assertEqual(preference_tool.getPreferredDocumentReferenceRegularExpression(), REFERENCE_REGULAR_EXPRESSION) -- 2.30.9