explicitly pass REQUEST in the test, so that PasswordTool does not use get_request.
When using --load, PasswordTool will be imported very early in the ZODB initialisation, before ERP5TypeTestCase has a chance to patch get_request, PasswordTool imports get_request at module level, so PasswordTool uses the original get_request which is not functional in tests. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38395 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment