test_pluginmanager: fix imports
This commit is contained in:
parent
3c31574cf9
commit
40770843ae
|
@ -38,8 +38,8 @@ configdir = gajim_root + '/test/tmp'
|
||||||
import time
|
import time
|
||||||
|
|
||||||
# define _ for i18n
|
# define _ for i18n
|
||||||
import __builtin__
|
import builtins
|
||||||
__builtin__._ = lambda x: x
|
builtins._ = lambda x: x
|
||||||
|
|
||||||
# wipe config directory
|
# wipe config directory
|
||||||
import os
|
import os
|
||||||
|
@ -54,7 +54,6 @@ gajim.common.configpaths.gajimpaths.init(configdir)
|
||||||
|
|
||||||
# for some reason common.app needs to be imported before xmpppy?
|
# for some reason common.app needs to be imported before xmpppy?
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import xmpp
|
|
||||||
|
|
||||||
app.DATA_DIR = gajim_root + '/data'
|
app.DATA_DIR = gajim_root + '/data'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue