[Erp5-report] r31393 kazuhiko - /erp5/trunk/products/ERP5/tests/testERP5Simulation.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Dec 18 14:32:07 CET 2009
Author: kazuhiko
Date: Fri Dec 18 14:32:03 2009
New Revision: 31393
URL: http://svn.erp5.org?rev=31393&view=rev
Log:
replace Dict Divergence Tester with Variation Divergence Tester.
Modified:
erp5/trunk/products/ERP5/tests/testERP5Simulation.py
Modified: erp5/trunk/products/ERP5/tests/testERP5Simulation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Simulation.py?rev=31393&r1=31392&r2=31393&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] Fri Dec 18 14:32:03 2009
@@ -83,8 +83,7 @@
portal_type='Category Membership Divergence Tester',
tested_property=i)
# create category divergence testers that is also used for matching
- for i in ('resource',
- 'variation_category',):
+ for i in ('resource',):
new_order_rule.newContent(
title='%s divergence tester' % i,
portal_type='Category Membership Divergence Tester',
@@ -98,11 +97,12 @@
tested_property=i,
divergence_provider=0,
matching_provider=1)
- # create dict divergence testers that is also used for matching
+ # create variation divergence testers that is also used for matching
for i in ('variation_property_dict',):
+ # tested_property has no meaning for this tester.
new_order_rule.newContent(
title='%s divergence tester' % i,
- portal_type='Dict Divergence Tester', # XXX-JPS - better to create Variation Divergence Tester and develop the concept of abstract variation
+ portal_type='Variation Divergence Tester',
tested_property=i,
matching_provider=1)
# create datetime divergence testers
More information about the Erp5-report
mailing list