Commit 51b186e2 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Do not disable checks because they fail.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4141 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 61acf0f5
...@@ -93,8 +93,7 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -93,8 +93,7 @@ class TestBusinessTemplate(ERP5TypeTestCase):
if bt.getTitle() == 'erp5_core': if bt.getTitle() == 'erp5_core':
core = bt core = bt
self.failUnless(core is not None) self.failUnless(core is not None)
# FIXME : check which building status Business Template must have after install self.failUnless(core.getBuildingState() == 'built')
# self.failUnless(core.getBuildingState() == 'built')
self.failUnless(core.getInstallationState() == 'installed') self.failUnless(core.getInstallationState() == 'installed')
def afterSetUp(self): def afterSetUp(self):
...@@ -239,13 +238,13 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -239,13 +238,13 @@ class TestBusinessTemplate(ERP5TypeTestCase):
pt.download(url='file:'+template_path, id='template_test') pt.download(url='file:'+template_path, id='template_test')
template = pt._getOb(id='template_test') template = pt._getOb(id='template_test')
template.install() template.install()
# self.failUnless(template.getBuildingState() == 'built') self.failUnless(template.getBuildingState() == 'built')
self.failUnless(template.getInstallationState() == 'installed') self.failUnless(template.getInstallationState() == 'installed')
# FIXME: check installed objects here # FIXME: check installed objects here
template.uninstall() template.uninstall()
# self.failUnless(template.getBuildingState() == 'built') self.failUnless(template.getBuildingState() == 'built')
self.failUnless(template.getInstallationState() == 'not_installed') self.failUnless(template.getInstallationState() == 'not_installed')
# FIXME: check uninstalled objects here # FIXME: check uninstalled objects here
......
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