Commit 4ceab823 authored by Sebastien Robin's avatar Sebastien Robin

test bt: remove an unexplained commit

parent 358de89c
...@@ -1494,15 +1494,6 @@ class BusinessTemplateMixin(ERP5TypeTestCase, LogInterceptor): ...@@ -1494,15 +1494,6 @@ class BusinessTemplateMixin(ERP5TypeTestCase, LogInterceptor):
float_index=2.0) float_index=2.0)
sequence.edit(first_action_id='become_geek') sequence.edit(first_action_id='become_geek')
def stepTestFirstAction(self, sequence=None, **kw):
pt = self.getTypeTool()
object_id = sequence.get('object_ptype_id')
object_pt = pt._getOb(object_id)
bt = sequence.get('current_bt', None)
self.assertTrue(bt is not None)
result, message = bt.getPortalTypesProperties()
self.assertEqual(result, 0)
def stepCreateEmptyAction(self, sequence=None, **kw): def stepCreateEmptyAction(self, sequence=None, **kw):
""" """
Create an empty action Create an empty action
...@@ -1515,15 +1506,6 @@ class BusinessTemplateMixin(ERP5TypeTestCase, LogInterceptor): ...@@ -1515,15 +1506,6 @@ class BusinessTemplateMixin(ERP5TypeTestCase, LogInterceptor):
action_permission_list=(), action_permission_list=(),
float_index=1.2) float_index=1.2)
def stepTestEmptyAction(self, sequence=None, **kw):
pt = self.getTypeTool()
object_id = sequence.get('object_ptype_id')
object_pt = pt._getOb(object_id)
bt = sequence.get('current_bt', None)
self.assertTrue(bt is not None)
result, message = bt.getPortalTypesProperties()
self.assertEqual(result, 1)
def stepCreateSecondAction(self, sequence=None, **kw): def stepCreateSecondAction(self, sequence=None, **kw):
""" """
Create a second action Create a second action
...@@ -3956,11 +3938,9 @@ class TestBusinessTemplate(BusinessTemplateMixin): ...@@ -3956,11 +3938,9 @@ class TestBusinessTemplate(BusinessTemplateMixin):
SaveBusinessTemplate \ SaveBusinessTemplate \
CheckBuiltBuildingState \ CheckBuiltBuildingState \
CheckNotInstalledInstallationState \ CheckNotInstalledInstallationState \
TestFirstAction\
RemoveBusinessTemplate \ RemoveBusinessTemplate \
RemoveAllTrashBins \ RemoveAllTrashBins \
CreateEmptyAction \ CreateEmptyAction \
TestEmptyAction\
ImportBusinessTemplate \ ImportBusinessTemplate \
UseImportBusinessTemplate \ UseImportBusinessTemplate \
CheckBuiltBuildingState \ CheckBuiltBuildingState \
......
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