示例#1
0
 def test_purge(self):
     b = Queue("foo", self.exchange, "foo", channel=Channel())
     b.purge()
     self.assertIn("queue_purge", b.channel)
示例#2
0
 def test_purge(self):
     b = Queue('foo', self.exchange, 'foo', channel=get_conn().channel())
     b.purge()
     self.assertIn('queue_purge', b.channel)
示例#3
0
 def test_purge(self):
     b = Queue("foo", self.exchange, "foo", channel=get_conn().channel())
     b.purge()
     self.assertIn("queue_purge", b.channel)
示例#4
0
 def test_purge(self):
     b = Queue('foo', self.exchange, 'foo', channel=get_conn().channel())
     b.purge()
     self.assertIn('queue_purge', b.channel)