def METHOD_NAME(self):
    self.channel.wait_returns = ['my-consumer-tag']
    self.channel.basic_consume('foo', no_ack=True)
    assert 'my-consumer-tag' in self.channel.no_ack_consumers
    self.channel.wait_returns = ['other-consumer-tag']
    self.channel.basic_consume('bar', no_ack=False)
    assert 'other-consumer-tag' not in self.channel.no_ack_consumers
    self.channel.basic_cancel('my-consumer-tag')
    assert 'my-consumer-tag' not in self.channel.no_ack_consumers