summary refs log tree commit diff stats
path: root/test/tc_newkeys.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_newkeys.py')
-rw-r--r--test/tc_newkeys.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/tc_newkeys.py b/test/tc_newkeys.py
index fd856f17..c9597201 100644
--- a/test/tc_newkeys.py
+++ b/test/tc_newkeys.py
@@ -12,7 +12,13 @@
 # GNU General Public License for more details.
 #
 # 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]
+sys.path[1:1] = ['..']
 
 from unittest import TestCase, main
 
@@ -22,8 +28,6 @@ from ranger.container.keymap import *
 from ranger.container.keybuffer import KeyBuffer
 from ranger.ext.keybinding_parser import parse_keybinding
 
-import sys
-
 def simulate_press(self, string):
 	for char in parse_keybinding(string):
 		self.add(char)
e='Blame the previous revision' href='/akkartik/mu/blame/051scenario_test.mu?h=hlt&id=f88551d1bdc28afaa1c60c97205d152417e6f145'>^
22b30692 ^





7a84094a ^
22b30692 ^

ad8161f3 ^
22b30692 ^






7a84094a ^
22b30692 ^

ad8161f3 ^
0f996b7b ^

d9cd13ad ^
3f7eed6c ^
d9cd13ad ^
7a84094a ^
08f4628e ^


d9cd13ad ^
22b30692 ^
ad8161f3 ^
d9cd13ad ^

22b30692 ^


7a84094a ^
22b30692 ^

ad8161f3 ^
22b30692 ^




7a84094a ^
22b30692 ^

ad8161f3 ^
22b30692 ^




65b3db5d ^
22b30692 ^




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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70