about summary refs log tree commit diff stats
path: root/test/tc_keyapi.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_keyapi.py')
-rw-r--r--test/tc_keyapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tc_keyapi.py b/test/tc_keyapi.py
index d6c32271..3cd5da0a 100644
--- a/test/tc_keyapi.py
+++ b/test/tc_keyapi.py
@@ -7,12 +7,12 @@ class Test(TestCase):
 		from ranger.keyapi import Wrapper
 
 		class dummyfm(object):
-			def move(relative):
+			def move(self, relative):
 				return "I move down by {0}".format(relative)
 
 		class commandarg(object):
 			def __init__(self):
-				self.fm = dummyfm
+				self.fm = dummyfm()
 				self.n = None
 
 		arg = commandarg()