Example #1
0
 def it_should_have_sent_passive_in_frame(self):
     self.server.should_have_received_method(
         self.channel.id, spec.ExchangeDeclare(
             0, 'name_1', 'fanout', True, True, False, False, False, {}))
Example #2
0
 def it_should_have_sent_nowait_in_frame(self):
     self.server.should_have_received_method(
         self.channel.id, spec.ExchangeDeclare(
             0, 'my.nice.exchange', 'fanout', False, True, False, False,
             True, {}))
Example #3
0
 def it_should_send_ExchangeDeclare(self):
     expected_method = spec.ExchangeDeclare(0, 'my.nice.exchange', 'fanout', False, True, False, False, False, {})
     self.server.should_have_received_method(self.channel.id, expected_method)