Commit 045aa79c authored by Nicolas Dumazet's avatar Nicolas Dumazet

Make sure that there is a linebreak after each print to avoid long lines when

running tests


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31698 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8d4c5605
......@@ -7,7 +7,8 @@ from ZODB.DemoStorage import DemoStorage
from ZODB.FileStorage import FileStorage
from Products.ERP5Type.tests.utils import getMySQLArguments
_print = sys.stderr.write
def _print(message):
sys.stderr.write(message + "\n")
instance_home = os.environ.get('INSTANCE_HOME')
data_fs_path = os.environ.get('erp5_tests_data_fs_path',
......
......@@ -310,7 +310,7 @@ def runUnitTestList(test_list, verbosity=1, debug=0):
os.environ.setdefault('EVENT_LOG_FILE', os.path.join(tests_home, 'zLOG.log'))
os.environ.setdefault('EVENT_LOG_SEVERITY', '-300')
_print("Loading Zope ... ")
_print("Loading Zope ... \n")
_start = time.time()
import Testing
......
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