MCPcopy
hub / github.com/celery/celery / test_countdown_negative

Method test_countdown_negative

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

Source from the content-addressed store, hash-verified

242 self.app.amqp.as_task_v2(uuid(), 'foo', args='abc')
243
244 def test_countdown_negative(self):
245 with pytest.raises(ValueError):
246 self.app.amqp.as_task_v2(uuid(), 'foo', countdown=-1232132323123)
247
248 def test_Queues__with_max_priority(self):
249 x = self.app.amqp.Queues({}, max_priority=23)

Callers

nothing calls this directly

Calls 2

as_task_v2Method · 0.80
raisesMethod · 0.45

Tested by

no test coverage detected