MCPcopy
hub / github.com/celery/celery / test_kwargs_must_be_mapping

Method test_kwargs_must_be_mapping

t/unit/app/test_amqp.py:236–238  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

234class test_AMQP(test_AMQP_Base):
235
236 def test_kwargs_must_be_mapping(self):
237 with pytest.raises(TypeError):
238 self.app.amqp.as_task_v2(uuid(), 'foo', kwargs=[1, 2])
239
240 def test_args_must_be_list(self):
241 with pytest.raises(TypeError):

Callers

nothing calls this directly

Calls 2

as_task_v2Method · 0.80
raisesMethod · 0.45

Tested by

no test coverage detected