Add default logging configuration for tests

This commit is contained in:
Cédric Krier committed 2010-03-26 18:29:13 +01:00
1 parent 6cdba1f9a5
commit 8476533e1e
1 file changed
+2
+2
View File
@@ -3,6 +3,8 @@
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
import logging
logging.basicConfig(level=logging.ERROR)
import sys, os
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
'..', '..', '..', 'trytond')))