Exemplo n.º 1
0
 def test_consume(self):
     b = Queue("foo", self.exchange, "foo", channel=Channel())
     b.consume("fifafo", None)
     self.assertIn("basic_consume", b.channel)
Exemplo n.º 2
0
 def test_consume(self):
     b = Queue('foo', self.exchange, 'foo', channel=get_conn().channel())
     b.consume('fifafo', None)
     self.assertIn('basic_consume', b.channel)
Exemplo n.º 3
0
 def test_consume(self):
     b = Queue("foo", self.exchange, "foo", channel=get_conn().channel())
     b.consume("fifafo", None)
     self.assertIn("basic_consume", b.channel)
Exemplo n.º 4
0
 def test_consume(self):
     b = Queue('foo', self.exchange, 'foo', channel=get_conn().channel())
     b.consume('fifafo', None)
     self.assertIn('basic_consume', b.channel)