Commit 042a5c99 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

revise the default generateHashKey() so as to include property value too.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31435 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 67e00d26
...@@ -100,7 +100,9 @@ class DivergenceTesterMixin: ...@@ -100,7 +100,9 @@ class DivergenceTesterMixin:
If decision_movement is a simulation movement, use If decision_movement is a simulation movement, use
the recorded properties instead of the native ones. the recorded properties instead of the native ones.
""" """
return '%s/%s' % (self.getPortalType(), self.getTestedProperty()) tested_property = self.getTestedProperty()
return '%s/%s/%r' % (self.getPortalType(), tested_property,
movement.getProperty(tested_property))
def compare(self, prevision_movement, decision_movement): def compare(self, prevision_movement, decision_movement):
""" """
......
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