test_pluginmanager: fix imports

This commit is contained in:
André Apitzsch 2017-09-10 12:22:49 +02:00
parent 3c31574cf9
commit 40770843ae
1 changed files with 2 additions and 3 deletions

View File

@ -38,8 +38,8 @@ configdir = gajim_root + '/test/tmp'
import time
# define _ for i18n
import __builtin__
__builtin__._ = lambda x: x
import builtins
builtins._ = lambda x: x
# wipe config directory
import os
@ -54,7 +54,6 @@ gajim.common.configpaths.gajimpaths.init(configdir)
# for some reason common.app needs to be imported before xmpppy?
from gajim.common import app
from gajim.common import xmpp
app.DATA_DIR = gajim_root + '/data'