Commit 2f7f97e8 authored by Nicolas Delaby's avatar Nicolas Delaby

Get constant from its new location

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35443 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 72691445
...@@ -37,7 +37,7 @@ from Testing import ZopeTestCase ...@@ -37,7 +37,7 @@ from Testing import ZopeTestCase
from Products.ERP5OOo.tests.utils import Validator from Products.ERP5OOo.tests.utils import Validator
from Acquisition import aq_base from Acquisition import aq_base
from Products.ERP5Type.Globals import get_request from Products.ERP5Type.Globals import get_request
from Products.ERP5OOo.Document.OOoDocument import STANDARD_IMAGE_FORMAT_LIST from Products.ERP5.Document.Document import VALID_IMAGE_FORMAT_LIST
from Products.ERP5Type.Core.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
from lxml import etree from lxml import etree
...@@ -269,7 +269,7 @@ class TestOOoChart(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -269,7 +269,7 @@ class TestOOoChart(ERP5TypeTestCase, ZopeTestCase.Functional):
# Test the differents render # Test the differents render
# render image # render image
for image_format in STANDARD_IMAGE_FORMAT_LIST: for image_format in VALID_IMAGE_FORMAT_LIST:
response = self.publish( response = self.publish(
'/%s/%s/%s?render_format=%s&display=medium' '/%s/%s/%s?render_format=%s&display=medium'
% (self.portal.getId(), self.form_id, self.ooo_chart_id, image_format), self.auth ) % (self.portal.getId(), self.form_id, self.ooo_chart_id, image_format), self.auth )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment