Commit 2b5837ba authored by Jérome Perrin's avatar Jérome Perrin

setting EVENT_LOG_FILE & EVENT_LOG_SEVERITY environment is set in runUnitTest.

same for execfile(framework)



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19428 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8362f202
......@@ -25,13 +25,6 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
import os, sys
if __name__ == '__main__':
execfile(os.path.join(sys.path[0], 'framework.py'))
# Needed in order to have a log file inside the current folder
os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')
os.environ['EVENT_LOG_SEVERITY'] = '-300'
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from AccessControl.SecurityManagement import newSecurityManager, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment