• Vincent Pelletier's avatar
    erp5_core_test testERP5Catalog: Do not compare creation_date with modificatoin_date · c06e2069
    Vincent Pelletier authored
    Creation date is defined as the oldest date of any workflow history on the
    considered document.
    Modification date is defined as the newest date of any workflow history
    on the considered document.
    As soon as there is more than one workflow on a given document, these
    values can differ: they are set with the wall-clock time at the moment
    the workflow history of each workflow is initially filled, so one can land
    just before a second change and the other right after.
    So comparing them is meaningless, catalog or not, and just causes this test
    to be unstable.
    c06e2069
test.erp5.testERP5Catalog.py 181 KB