Commit 0d470ae7 authored by Nicolas Delaby's avatar Nicolas Delaby

Use legacy method

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25208 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd833f4d
......@@ -230,7 +230,7 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
self.createOrganisationList()
self.createAccountList()
self.createItemList()
self.validateRuleList()
self.validateRules()
get_transaction().commit()
self.tic()
......@@ -422,11 +422,6 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
item_id = 'item%i' % i
item_module.newContent(id=item_id, reference='%i' % i)
def validateRuleList(self):
portal_rules = self.getRuleTool()
for rule in portal_rules.objectValues():
rule.validate()
def stepTic(self, sequence=None, sequence_list=None, **kw):
self.tic()
......
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