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

Method test_serializer

t/unit/app/test_control.py:248–252  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

246 name, destination=destination, arguments=args, **_options or {})
247
248 def test_serializer(self):
249 self.app.conf['task_serializer'] = 'test'
250 self.app.conf['accept_content'] = ['test']
251 assert control.Control(self.app).mailbox.serializer == 'test'
252 assert control.Control(self.app).mailbox.accept == ['test']
253
254 def test_purge(self):
255 self.app.amqp.TaskConsumer = Mock(name='TaskConsumer')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected