Commit 12490240 authored by Sebastien Robin's avatar Sebastien Robin

mrp tests: tester properties are usually not multivalued

parent 16f16629
...@@ -54,8 +54,8 @@ class TestMRPMixin(TestBPMMixin): ...@@ -54,8 +54,8 @@ class TestMRPMixin(TestBPMMixin):
reference=reference, reference=reference,
test_method_id="SimulationMovement_test" + portal_type.replace(' ', '')) test_method_id="SimulationMovement_test" + portal_type.replace(' ', ''))
def newTester(p, t, **kw): def newTester(p, t, **kw):
kw.setdefault("tested_property", (p,)) kw.setdefault("tested_property", p)
return rule.newContent(p + "_tester", t + " Divergence Tester", return rule.newContent(id=p + "_tester", portal_type=t + " Divergence Tester",
title=p + " divergence tester", **kw) title=p + " divergence tester", **kw)
for x in ("aggregate", for x in ("aggregate",
"base_application", "base_application",
......
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