diff options
-rw-r--r-- | tests/db/thread_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/db/thread_test.py b/tests/db/thread_test.py index 678a5e59..8e4a5003 100644 --- a/tests/db/thread_test.py +++ b/tests/db/thread_test.py @@ -45,7 +45,7 @@ class TestThreadGetAuthor(unittest.TestCase): m.get_author = mock.Mock(return_value=a) get_messages.append(m) gm = mock.Mock() - gm.iterkeys = mock.Mock(return_value=get_messages) + gm.keys = mock.Mock(return_value=get_messages) cls.__patchers.extend([ mock.patch('alot.db.thread.Thread.get_messages', |