[Erp5-report] r31446 kazuhiko - /erp5/trunk/products/ERP5/tests/testERP5Simulation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Dec 23 17:43:07 CET 2009


Author: kazuhiko
Date: Wed Dec 23 17:43:06 2009
New Revision: 31446

URL: http://svn.erp5.org?rev=31446&view=rev
Log:
do not use 'order' matching tester that is a cheat and makes matching too easy.

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=31446&r1=31445&r2=31446&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] Wed Dec 23 17:43:06 2009
@@ -70,7 +70,7 @@
         version=2,
         )
       # create category divergence testers that is only used for matching
-      for i in ('order',):
+      for i in ('resource',):
         new_order_rule.newContent(
           title='%s divergence tester' % i,
           portal_type='Category Membership Divergence Tester',
@@ -270,14 +270,6 @@
           portal_type='Category Membership Divergence Tester',
           tested_property=i,
           matching_provider=1)
-      # create category divergence testers that is only used for matching
-      for i in ('order',):
-        new_order_rule.newContent(
-          title='%s divergence tester' % i,
-          portal_type='Category Membership Divergence Tester',
-          tested_property=i,
-          divergence_provider=0,
-          matching_provider=1)
       # create variation divergence testers that is also used for matching
       for i in ('variation_property_dict',):
         # tested_property has no meaning for this tester.




More information about the Erp5-report mailing list