summary refs log tree commit diff stats
path: root/test/tc_loader.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-08-29 19:16:57 +0200
committerhut <hut@lavabit.com>2010-08-29 19:16:57 +0200
commitec823be00aa7175ebcb836a240a20f6389159c2e (patch)
tree24fe7386e630acf7ccf7903c09f252b434aee18a /test/tc_loader.py
parentfd29d7e6bb22d6176717ac5dc9e3c8f88009732b (diff)
downloadranger-ec823be00aa7175ebcb836a240a20f6389159c2e.tar.gz
Removed symlink in test/
Diffstat (limited to 'test/tc_loader.py')
-rw-r--r--test/tc_loader.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tc_loader.py b/test/tc_loader.py
index 9f7f7322..5a2e5a68 100644
--- a/test/tc_loader.py
+++ b/test/tc_loader.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 os
 from os.path import realpath, join, dirname
the previous revision' href='/akkartik/mu/blame/http-server.mu?h=hlt&id=0cdaca2c0c78d3f8df4ca78d5e445844f0145ae4'>^
433a7c7b ^
25cd8e98 ^




801e8b50 ^
25cd8e98 ^
215e35e4 ^

68578a78 ^
1
2
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