diff options
author | hut <hut@lavabit.com> | 2010-01-20 00:18:18 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-20 00:18:18 +0100 |
commit | dd4a4145c5e43b191d54fdddbc16b037a5d7345e (patch) | |
tree | 95938ba20bf3fa66d23cb10a02ca148ba32369de /test/tc_keyapi.py | |
parent | 3a54161b2391705617f5790b65e35fc4edad0731 (diff) | |
download | ranger-dd4a4145c5e43b191d54fdddbc16b037a5d7345e.tar.gz |
fixed unit tests
Diffstat (limited to 'test/tc_keyapi.py')
-rw-r--r-- | test/tc_keyapi.py | 4 |
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() |