summary refs log tree commit diff stats
path: root/test/tc_ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_ui.py')
-rw-r--r--test/tc_ui.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tc_ui.py b/test/tc_ui.py
index dc8d669d..fa2bdcac 100644
--- a/test/tc_ui.py
+++ b/test/tc_ui.py
@@ -13,6 +13,12 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+import os.path
+import sys
+rangerpath = os.path.join(os.path.dirname(__file__), '..')
+if sys.path[1] != rangerpath:
+	sys.path[1:1] = [rangerpath]
+
 import unittest
 import curses
 
3 4 5 6 7 8 9 10 11 12 13 14 15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44