diff options
Diffstat (limited to 'sources/shiboken2/tests/samplebinding/echo_test.py')
-rw-r--r-- | sources/shiboken2/tests/samplebinding/echo_test.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/samplebinding/echo_test.py b/sources/shiboken2/tests/samplebinding/echo_test.py index b91394bb8..cd3fcc090 100644 --- a/sources/shiboken2/tests/samplebinding/echo_test.py +++ b/sources/shiboken2/tests/samplebinding/echo_test.py @@ -31,8 +31,14 @@ '''Test cases for <add-function> with const char* as argument''' +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 Echo class TestEcho(unittest.TestCase): |