Commit 2b388289 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add a divergence tester that is only used for matching.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31334 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e3bdd8b6
...@@ -89,6 +89,13 @@ class TestERP5SimulationMixin(TestPackingListMixin): ...@@ -89,6 +89,13 @@ class TestERP5SimulationMixin(TestPackingListMixin):
portal_type='Category Membership Divergence Tester', portal_type='Category Membership Divergence Tester',
tested_property=i, tested_property=i,
matching_provider=1) matching_provider=1)
# create category divergence testers that is only used for matching
for i in ('order',):
new_order_rule.newContent(
portal_type='Category Membership Divergence Tester',
tested_property=i,
divergence_provider=0,
matching_provider=1)
# create dict divergence testers that is also used for matching # create dict divergence testers that is also used for matching
for i in ('variation_property_dict',): for i in ('variation_property_dict',):
new_order_rule.newContent( new_order_rule.newContent(
......
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