Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2018-04-25 21:49:37 +0300
committerPhilipp Hörist <philipp@hoerist.com>2018-04-25 21:49:37 +0300
commit105427b8fdf6af213e73aacca48cda7ada7fd5a8 (patch)
treebb2d2f58db690e0c481a0000ea81eba057bfccca /test/lib
parent52cbae69eed7f205edb8a22072f7b18e66aee4a4 (diff)
Use consistent way to get paths
This lets us now import the app module without setting paths
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/__init__.py b/test/lib/__init__.py
index 7ddd20216..90c9a0d05 100644
--- a/test/lib/__init__.py
+++ b/test/lib/__init__.py
@@ -47,7 +47,7 @@ def setup_env():
import logging
logging.basicConfig()
- app.DATA_DIR = gajim_root + '/gajim/data'
+ configpaths.override_path('DATA', gajim_root + '/gajim/data')
app.use_x = use_x
app.contacts = LegacyContactsAPI()
app.connections = {}