• Arnaud Fontaine's avatar
    ZODB Components: Keep a reference of Test Component module on ERP5TypeTestLoader. · 7d34f032
    Arnaud Fontaine authored
    All other Component modules must be kept alive during the REQUEST life (f523edc4).
    However, Unit Tests modules should be kept alive until it finished executing and
    this may span accross multiple REQUESTS.
    
    Issue found out when migrating testBusinessTemplate to erp5_core_test which was
    failing as the module was GC'ed and its top-level variables were reset to None by
    the interpreter.
    7d34f032
runUnitTest.py 36.5 KB