[Erp5-dev] Dates divergency, even if dates are exact...

Łukasz Nowak lukasz.nowak at ventis.com.pl
Tue Mar 18 09:16:27 CET 2008


Hello,

On 2008-03-17, 11:14:20
Jean-Paul Smets <jp at nexedi.com> wrote:

> Hi,
> 
> Although this does not answer your exact question, I recommend for
> divergency testing (ie. rules) to include some tolerance, both for
> quantity and other values. I am not sure whether this is fully
> implemented yet.

Quite nice tip. So I shall modify code of proper AppliedRule subclass
and add some date acceptance based on assumptions?

But why is it only happens in unit tests? I wasn't able to reproduce it
in production/development system. (The only problem is that, sometimes
I've got to many test failures.) From other point of view - it only
happens in my test suites, so I might broke something myself...

Regards,
Luke

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.



More information about the Erp5-dev mailing list