summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2014-10-14 11:11:10 -0300
committerVictor Shyba <victor.shyba@gmail.com>2014-10-14 11:11:10 -0300
commit9ca7e9fe99694fee41eff8f8e1d64c1b1899859a (patch)
tree421d6e8de6d4d8e93a37da7d27eb75c69783dcdb /service/test
parent23503fcdf83fe1437bcd164c79d75cf56c08bade (diff)
renames method to follow other members naming #103
Diffstat (limited to 'service/test')
-rw-r--r--service/test/unit/adapter/listener_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/test/unit/adapter/listener_test.py b/service/test/unit/adapter/listener_test.py
index ec4b1d93..284c6b16 100644
--- a/service/test/unit/adapter/listener_test.py
+++ b/service/test/unit/adapter/listener_test.py
@@ -50,10 +50,10 @@ class MailboxListenerTest(unittest.TestCase):
listener = MailboxListener('INBOX')
listener.querier = querier
- when(querier).get_idents_by_mailbox('INBOX').thenReturn({'ident1', 'ident2', 'missing_ident'})
+ when(querier).idents_by_mailbox('INBOX').thenReturn({'ident1', 'ident2', 'missing_ident'})
querier.used_arguments = []
querier.mails = lambda x: querier.used_arguments.append(x)
listener.newMessages(10, 5)
- verify(querier, times=1).get_idents_by_mailbox('INBOX')
+ verify(querier, times=1).idents_by_mailbox('INBOX')
self.assertIn({'missing_ident'}, querier.used_arguments)