Commit 0bff5e8c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

replace Dict Divergence Tester with Variation Divergence Tester.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31393 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 796ae00f
...@@ -83,8 +83,7 @@ class TestERP5SimulationMixin(TestPackingListMixin): ...@@ -83,8 +83,7 @@ class TestERP5SimulationMixin(TestPackingListMixin):
portal_type='Category Membership Divergence Tester', portal_type='Category Membership Divergence Tester',
tested_property=i) tested_property=i)
# create category divergence testers that is also used for matching # create category divergence testers that is also used for matching
for i in ('resource', for i in ('resource',):
'variation_category',):
new_order_rule.newContent( new_order_rule.newContent(
title='%s divergence tester' % i, title='%s divergence tester' % i,
portal_type='Category Membership Divergence Tester', portal_type='Category Membership Divergence Tester',
...@@ -98,11 +97,12 @@ class TestERP5SimulationMixin(TestPackingListMixin): ...@@ -98,11 +97,12 @@ class TestERP5SimulationMixin(TestPackingListMixin):
tested_property=i, tested_property=i,
divergence_provider=0, divergence_provider=0,
matching_provider=1) 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',): for i in ('variation_property_dict',):
# tested_property has no meaning for this tester.
new_order_rule.newContent( new_order_rule.newContent(
title='%s divergence tester' % i, 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, tested_property=i,
matching_provider=1) matching_provider=1)
# create datetime divergence testers # create datetime divergence testers
......
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