MCPcopy Create free account
hub / github.com/celery/celery / test_binding

Method test_binding

t/unit/backends/test_rpc.py:266–272  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

264 self.b.destination_for('task_id', None)
265
266 def test_binding(self):
267 queue = self.b.binding
268 assert queue.name == self.b.oid
269 assert queue.exchange == self.b.exchange
270 assert queue.routing_key == self.b.oid
271 assert queue.durable
272 assert queue.auto_delete
273
274 def test_create_binding(self):
275 assert self.b._create_binding('id') == self.b.binding

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected