about summary refs log tree commit diff stats
path: root/test/tc_keyapi.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-20 00:18:18 +0100
committerhut <hut@lavabit.com>2010-01-20 00:18:18 +0100
commitdd4a4145c5e43b191d54fdddbc16b037a5d7345e (patch)
tree95938ba20bf3fa66d23cb10a02ca148ba32369de /test/tc_keyapi.py
parent3a54161b2391705617f5790b65e35fc4edad0731 (diff)
downloadranger-dd4a4145c5e43b191d54fdddbc16b037a5d7345e.tar.gz
fixed unit tests
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()