diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-02-22 14:50:50 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:34:56 -0800 |
commit | dbaa8b39e172a71b32758ab70fe3ee29e64b17fa (patch) | |
tree | b45e0203da12eb329690795dc2c41e341fe08f6b /tests/db | |
parent | c030c2a7a310cb7ceb5c16c0d78b77973df7144f (diff) |
tests/db/thread: Fix tests for py3k
Diffstat (limited to 'tests/db')
-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', |