diff --git a/product/ERP5/tests/testERP5Simulation.py b/product/ERP5/tests/testERP5Simulation.py index 99dbd05737cde94ad6b36f72d6775be5aaf77d60..28ffde70e7eaf3aa8017235bbe7700186bad596a 100644 --- a/product/ERP5/tests/testERP5Simulation.py +++ b/product/ERP5/tests/testERP5Simulation.py @@ -83,8 +83,7 @@ class TestERP5SimulationMixin(TestPackingListMixin): 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 @@ class TestERP5SimulationMixin(TestPackingListMixin): 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