summary refs log tree commit diff stats
path: root/test/tc_history.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_history.py
parentfd29d7e6bb22d6176717ac5dc9e3c8f88009732b (diff)
downloadranger-ec823be00aa7175ebcb836a240a20f6389159c2e.tar.gz
Removed symlink in test/
Diffstat (limited to 'test/tc_history.py')
-rw-r--r--test/tc_history.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tc_history.py b/test/tc_history.py
index 301ebedd..02a8bb9f 100644
--- a/test/tc_history.py
+++ b/test/tc_history.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]
+
 from ranger.container import History
 from unittest import TestCase, main
 import unittest
id='n143' href='#n143'>143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223