ZODB Components: Keep a reference of Test Component module on ERP5TypeTestLoader.
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.
Showing
Please register or sign in to comment