Commit 8aef6fa4 authored by Aurel's avatar Aurel

remove check for old diff


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4832 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce0097c8
...@@ -422,26 +422,6 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -422,26 +422,6 @@ class TestBusinessTemplate(ERP5TypeTestCase):
current_bt=new_bt, current_bt=new_bt,
new_bt=None) new_bt=None)
def stepCheckEmptyDiff(self, sequence=None, sequence_list=None, **kw):
"""
Check if the diff of the new BT is empty
"""
new_bt = sequence.get('new_bt')
# self.assertEquals('', new_bt.diff(verbose=1))
diff = new_bt.diff(verbose=1)
# diff_list = diff.split('\n')
# self.assertEquals(3, len(diff_list))
def stepCheckNoEmptyDiff(self, sequence=None, sequence_list=None, **kw):
"""
Check if the diff of the new BT is empty
"""
new_bt = sequence.get('new_bt')
# self.assertEquals('', new_bt.diff(verbose=1))
diff = new_bt.diff(verbose=1)
diff_list = diff.split('\n')
# self.assertEquals(4, len(diff_list))
def stepRemoveBaseCategoryFromNewBT(self, sequence=None, def stepRemoveBaseCategoryFromNewBT(self, sequence=None,
sequence_list=None, **kw): sequence_list=None, **kw):
""" """
...@@ -506,7 +486,6 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -506,7 +486,6 @@ class TestBusinessTemplate(ERP5TypeTestCase):
CopyBusinessTemplate \ CopyBusinessTemplate \
Tic \ Tic \
InstallNewBT \ InstallNewBT \
CheckEmptyDiff \
SwitchBT \ SwitchBT \
' '
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
...@@ -532,7 +511,6 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -532,7 +511,6 @@ class TestBusinessTemplate(ERP5TypeTestCase):
ImportNewBT \ ImportNewBT \
Tic \ Tic \
InstallNewBT \ InstallNewBT \
CheckEmptyDiff \
SwitchBT \ SwitchBT \
' '
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
...@@ -561,7 +539,6 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -561,7 +539,6 @@ class TestBusinessTemplate(ERP5TypeTestCase):
ImportNewBT \ ImportNewBT \
Tic \ Tic \
InstallNewBT \ InstallNewBT \
CheckNoEmptyDiff \
CheckIfBaseCategoryIsInstalled \ CheckIfBaseCategoryIsInstalled \
SwitchBT \ SwitchBT \
' '
...@@ -590,7 +567,6 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -590,7 +567,6 @@ class TestBusinessTemplate(ERP5TypeTestCase):
ImportNewBT \ ImportNewBT \
Tic \ Tic \
InstallNewBT \ InstallNewBT \
CheckNoEmptyDiff \
CheckIfBaseCategoryIsInstalled \ CheckIfBaseCategoryIsInstalled \
SwitchBT \ SwitchBT \
' '
...@@ -616,7 +592,6 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -616,7 +592,6 @@ class TestBusinessTemplate(ERP5TypeTestCase):
CheckBuiltBuildingState \ CheckBuiltBuildingState \
Tic \ Tic \
InstallNewBT \ InstallNewBT \
CheckEmptyDiff \
SwitchBT \ SwitchBT \
' '
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
...@@ -648,7 +623,6 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -648,7 +623,6 @@ class TestBusinessTemplate(ERP5TypeTestCase):
ImportNewBT \ ImportNewBT \
Tic \ Tic \
InstallNewBT \ InstallNewBT \
CheckNoEmptyDiff \
CheckIfBaseCategoryIsInstalled \ CheckIfBaseCategoryIsInstalled \
CheckIfSubCategoryExists \ CheckIfSubCategoryExists \
CheckIfTrashBinExists \ CheckIfTrashBinExists \
......
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