aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/samplebinding/simplefile_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/samplebinding/simplefile_test.py')
-rw-r--r--sources/shiboken2/tests/samplebinding/simplefile_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/samplebinding/simplefile_test.py b/sources/shiboken2/tests/samplebinding/simplefile_test.py
index 2a42942f7..4a841be80 100644
--- a/sources/shiboken2/tests/samplebinding/simplefile_test.py
+++ b/sources/shiboken2/tests/samplebinding/simplefile_test.py
@@ -32,8 +32,13 @@
'''Test cases for SimpleFile class'''
import os
+import sys
import unittest
+sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+from shiboken_paths import init_paths
+init_paths()
+
from sample import SimpleFile
class SimpleFileTest(unittest.TestCase):