summaryrefslogtreecommitdiffstats
path: root/src/tests/intg/__init__.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 05:31:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 05:31:45 +0000
commit74aa0bc6779af38018a03fd2cf4419fe85917904 (patch)
tree9cb0681aac9a94a49c153d5823e7a55d1513d91f /src/tests/intg/__init__.py
parentInitial commit. (diff)
downloadsssd-74aa0bc6779af38018a03fd2cf4419fe85917904.tar.xz
sssd-74aa0bc6779af38018a03fd2cf4419fe85917904.zip
Adding upstream version 2.9.4.upstream/2.9.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/tests/intg/__init__.py')
-rw-r--r--src/tests/intg/__init__.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/intg/__init__.py b/src/tests/intg/__init__.py
new file mode 100644
index 0000000..542f4d1
--- /dev/null
+++ b/src/tests/intg/__init__.py
@@ -0,0 +1,13 @@
+import sys
+import config
+
+if sys.version_info[0] > 2:
+ LOCAL_PYEXECDIR = config.PY3EXECDIR
+ LOCAL_PYDIR = config.PY3DIR
+else:
+ LOCAL_PYEXECDIR = config.PY2EXECDIR
+ LOCAL_PYDIR = config.PY2DIR
+
+for path in [LOCAL_PYEXECDIR, LOCAL_PYDIR]:
+ if path not in sys.path:
+ sys.path.insert(0, path)