def test_consume(self): b = Queue("foo", self.exchange, "foo", channel=Channel()) b.consume("fifafo", None) self.assertIn("basic_consume", b.channel)
def test_consume(self): b = Queue('foo', self.exchange, 'foo', channel=get_conn().channel()) b.consume('fifafo', None) self.assertIn('basic_consume', b.channel)
def test_consume(self): b = Queue("foo", self.exchange, "foo", channel=get_conn().channel()) b.consume("fifafo", None) self.assertIn("basic_consume", b.channel)