MCPcopy
hub / github.com/Koed00/django-q / test_sync_raise_exception

Function test_sync_raise_exception

django_q/tests/test_cluster.py:61–63  ·  view source on GitHub ↗
(broker)

Source from the content-addressed store, hash-verified

59
60@pytest.mark.django_db
61def test_sync_raise_exception(broker):
62 with pytest.raises(TaskError):
63 async_task("django_q.tests.tasks.raise_exception", broker=broker, sync=True)
64
65
66@pytest.mark.django_db

Callers

nothing calls this directly

Calls 1

async_taskFunction · 0.90

Tested by

no test coverage detected