summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/tests/client/test_incoming_processing_flow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/client/test_incoming_processing_flow.py b/testing/tests/client/test_incoming_processing_flow.py
index 40409f0a..7bc1e3c6 100644
--- a/testing/tests/client/test_incoming_processing_flow.py
+++ b/testing/tests/client/test_incoming_processing_flow.py
@@ -131,7 +131,7 @@ class IncomingBoxProcessingTestCase(unittest.TestCase):
consumer = GoodConsumer()
self.loop.add_consumer(consumer)
yield self.loop()
- self.box.set_processed.has_calls([call(x) for x in items])
+ self.box.set_processed.assert_has_calls([call(x) for x in items])
@defer.inlineCallbacks
def test_good_consumer_deletes_items(self):
@@ -140,7 +140,7 @@ class IncomingBoxProcessingTestCase(unittest.TestCase):
consumer = GoodConsumer()
self.loop.add_consumer(consumer)
yield self.loop()
- self.box.delete.has_calls([call(x) for x in items])
+ self.box.delete.assert_has_calls([call(x) for x in items])
@defer.inlineCallbacks
def test_processing_failed_doesnt_mark_as_processed(self):