Commit a7a52d77 authored by Julien Muchembled's avatar Julien Muchembled

TestBusinessTemplate: do not catch logs in test_165_checkCopyBuildInstall

Otherwise, the test fails when transforms of portal_transforms can't initialize
due to missing binaries.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41768 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3af87e68
......@@ -222,7 +222,11 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
"""
bt = sequence.get('copy_bt')
self.assertEquals(bt.getTitle(), 'erp5_core')
# Ignore log, because PortalTransforms outputs an ERROR when it can't load
# a transform due to missing binary.
self._ignore_log_errors()
bt.build()
self._catch_log_errors()
def stepInstallCopyCoreBusinessTemplate(self, sequence=None,
sequence_list=None, **kw):
......@@ -232,7 +236,11 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
bt = sequence.get('copy_bt')
self.assertEquals(bt.getTitle(), 'erp5_core')
self.assertEquals(bt.getInstallationState(), 'not_installed')
# Ignore log, because PortalTransforms outputs an ERROR when it can't load
# a transform due to missing binary.
self._ignore_log_errors()
bt.install()
self._catch_log_errors()
def stepCheckOriginalAndCopyBusinessTemplate(self, sequence=None,
sequence_list=None, **kw):
......
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