Commit 8db82131 authored by Nicolas Dumazet's avatar Nicolas Dumazet

len(wf_ids) after one append is _always_ 1, this assert is confusing


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34202 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bbea46a5
......@@ -915,10 +915,9 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
"""
bt = sequence.get('current_bt', None)
self.failUnless(bt is not None)
wf_ids = []
wf_ids.append(sequence.get('skin_folder_id', ''))
self.assertEqual(len(wf_ids), 1)
bt.edit(template_skin_id_list=wf_ids)
skin_id = sequence.get('skin_folder_id', '')
self.failIfEqual(skin_id, '')
bt.edit(template_skin_id_list=[skin_id])
def stepAddRegistredSelectionToBusinessTemplate(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