about summary refs log tree commit diff stats
path: root/test/tc_directory.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_directory.py')
-rw-r--r--test/tc_directory.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/tc_directory.py b/test/tc_directory.py
index 434d282f..cb8e747e 100644
--- a/test/tc_directory.py
+++ b/test/tc_directory.py
@@ -1,7 +1,4 @@
-if __name__ == '__main__':
-	from os.path import abspath, join
-	import sys
-	sys.path.append(abspath(join(sys.path[0], '..')))
+if __name__ == '__main__': from __init__ import init; init()
 
 from ranger import fsobject
 from ranger.fsobject.file import File