Beispiel #1
0
 def given_a_deleted_queue(self):
     asyncio.async(self.queue.delete(if_unused=False, if_empty=False), loop=self.loop)
     self.tick()
     self.server.send_method(self.channel.id, spec.QueueDeleteOK(123))
Beispiel #2
0
 def when_QueueDeleteOK_arrives(self):
     method = spec.QueueDeleteOK(123)
     self.server.send_method(self.channel.id, method)