tests: fixed log init in helpers (log init must be done before any call to a log method)
This commit is contained in:
parent
edf5db192f
commit
d89044dbbc
1 changed files with 5 additions and 4 deletions
|
|
@ -17,6 +17,11 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
## 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 xml.etree import cElementTree as etree
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue