When running functional tests, custom_zodb.py is in the instance home, so
from there we cannot import runUnitTest using relative import, so import it from its full path instead, and to prevent reloading runUnitTest (which has some import side effects) in such case, we insert it in sys module. Original patch from jm git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35098 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment