Commit 2ca17413 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Contribution Predicate should be ignored as well

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20305 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3883fed5
......@@ -146,8 +146,11 @@ class TestDomainTool(ERP5TypeTestCase):
domain_tool = self.getDomainTool()
# ignore simulation rules, which are now predicates
rule_query = Query(operator='AND', portal_type=['!=%s' % x for x in
domain_tool.getPortalRuleTypeList() + ('Base Domain',)])
rule_query = Query(
operator='AND',
portal_type=['!=%s' % x for x
in domain_tool.getPortalRuleTypeList()
+ ('Base Domain', 'Contribution Predicate')])
# Test with order line and predicate to none
predicate_list = domain_tool.searchPredicateList(order_line,test=test,
......
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