Example #1
0
 def when_consumer_is_closed_server_side(self):
     self.server.send_method(self.channel.id, spec.BasicCancel('made.up.tag', False))
     self.tick()
Example #2
0
 def it_should_send_a_BasicCancel_method(self):
     self.server.should_have_received_method(self.channel.id, spec.BasicCancel(self.consumer.tag, False))