@patch('kombu.compat._iterconsume')
def test_iterconsume_calls__iterconsume(self, it, n='test_iterconsume'):
    c = compat.Consumer(self.connection, queue=n, exchange=n)
    c.iterconsume(limit=10, no_ack=True)
    it.assert_called_with(c.connection, c, True, 10)
@patch('kombu.compat._iterconsume')
def test_iterconsume_calls__iterconsume(self, it, n='test_iterconsume'):
    c = compat.Consumer(self.connection, queue=n, exchange=n)
    c.iterconsume(limit=10, no_ack=True)
    it.assert_called_with(c.connection, c, True, 10)