Commit b8983b0f authored by Sven Franck's avatar Sven Franck

erp5_corporate_identity: explicitly call template_zuite tests

parent f5e7d6b2
##############################################################################
#
# Copyright (c) 2002-2017 Nexedi SA and Contributors. All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
import unittest
from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctionalTestCase
class TestCorportateIdentityTemplateUiElements(ERP5TypeFunctionalTestCase):
foreground = 0
run_only = "template_zuite"
def getBusinessTemplateList(self):
return (
'erp5_core',
'erp5_font',
'erp5_web',
'erp5_dms',
'erp5_crm',
'erp5_ui_test_core',
'erp5_ui_test'
'erp5_test_result',
)
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestCorportateIdentityTemplateUiElements))
return suite
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Test Component" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_recorded_property_dict</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>testCorporateIdentityTemplateUiElements</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Tests verifying the various templates and exports work in the ERP5 UI.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>test.erp5.testCorportateIdentityTemplateUiElements</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Test Component</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>text_content_error_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>erp5</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>component_validation_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>validated</string> </value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
......@@ -609,6 +609,12 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
)
)
'''
@changeSkin('Letter')
def test_htmlLetter(self):
"""
......@@ -803,8 +809,6 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
'''
def dumpOrCheckPrintout(self, delivery=None, report_name=None, prefix=None):
"""
render printout as html, then either compare with previous dumps, or
......
......@@ -2,5 +2,6 @@ document_module/template_test_slideshow*
image_module/template_test_image*
image_module/template_test_slideshow*
person_module/template_test*
web_page_module/template_test_slideshow*
portal_preferences/default_site_preference/template_*
portal_tests/template_zuite/testAndUpdateTestFilesForSlideTemplate
web_page_module/template_test_slideshow*
\ No newline at end of file
......@@ -2,5 +2,6 @@ document_module/template_test_slideshow*
image_module/template_test_image*
image_module/template_test_slideshow*
person_module/template_test*
web_page_module/template_test_slideshow*
portal_preferences/default_site_preference/template_*
portal_tests/template_zuite/testAndUpdateTestFilesForSlideTemplate
web_page_module/template_test_slideshow*
\ No newline at end of file
test.erp5.testCorportateIdentityTemplates
test.erp5.testCorportateIdentityTemplateUiElements
\ No newline at end of file
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