• Jérome Perrin's avatar
    erp5/upgrade_test: make sure users can create and search for content · 414e7dd3
    Jérome Perrin authored
    Extend the upgrade tests to create data before the upgrade, to
    confirm that this data can still be found after the upgrade.
    
    This also extends the test to confirm that after upgrade, inituser
    can still login, create content and find content created before and
    after upgrade.
    
    After 4fa33dfc (erp5: py3: `func_{code,defaults}` was replaced in
    Python3 by `__{code,defaults}__`., 2022-04-25), this was no longer
    the case, because during indexation, using existing scripts failed
    with AttributeError __code__
    414e7dd3
test.py 11 KB