[Erp5-report] r20305 - /erp5/trunk/products/ERP5/tests/testDomainTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Apr 4 11:33:20 CEST 2008
Author: alex
Date: Fri Apr 4 11:33:17 2008
New Revision: 20305
URL: http://svn.erp5.org?rev=20305&view=rev
Log:
Contribution Predicate should be ignored as well
Modified:
erp5/trunk/products/ERP5/tests/testDomainTool.py
Modified: erp5/trunk/products/ERP5/tests/testDomainTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testDomainTool.py?rev=20305&r1=20304&r2=20305&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testDomainTool.py (original)
+++ erp5/trunk/products/ERP5/tests/testDomainTool.py Fri Apr 4 11:33:17 2008
@@ -146,8 +146,11 @@
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,
More information about the Erp5-report
mailing list