summaryrefslogtreecommitdiff
path: root/src/tests/tests.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/tests.py.in')
-rwxr-xr-xsrc/tests/tests.py.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/tests.py.in b/src/tests/tests.py.in
index 93cef12..35b1f55 100755
--- a/src/tests/tests.py.in
+++ b/src/tests/tests.py.in
@@ -3,7 +3,7 @@
import sys
import os
import tempfile
-sys.path.insert(0, os.path.abspath(os.path.join(__file__, "../../")))
+sys.path.insert(0, os.path.abspath(os.path.join(__file__, "@SRC_DIR@")))
from gi.repository import Gtk
from gi.repository import Gio
@@ -35,7 +35,7 @@ XML = """
</node>
"""
-DATA_DIR = os.path.abspath("../../data/")
+DATA_DIR = os.path.abspath("@DATA_DIR@")
class IntrospectionHelperTest(unittest.TestCase):