# HG changeset patch # User Goffi # Date 1398247319 -7200 # Node ID f5761534e0f383c813ebe70499551f86da86c4f4 # Parent b3f383ab39dabdb3874e9dd74a9e51abcf7a4f5f tests: fixed log init in helpers (log init must be done before any call to a log method) diff -r b3f383ab39da -r f5761534e0f3 src/test/helpers.py --- a/src/test/helpers.py Mon Apr 21 20:04:52 2014 +0200 +++ b/src/test/helpers.py Wed Apr 23 12:01:59 2014 +0200 @@ -17,6 +17,11 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . + +## logging configuration for tests ## +from sat.core import log +log.satConfigure() + from sat.core import exceptions from constants import Const from wokkel.xmppim import RosterItem @@ -30,10 +35,6 @@ from collections import Counter import re -## logging configuration for tests ## -from sat.core import log -log.satConfigure() - def b2s(value): """Convert a bool to a unicode string used in bridge