MCPcopy Create free account
hub / github.com/python-arq/arq / test_str_function

Function test_str_function

tests/test_cron.py:211–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209
210
211async def test_str_function():
212 cj = cron('asyncio.sleep', hour=1, run_at_startup=True)
213 assert str(cj).startswith('<CronJob name=cron:asyncio.sleep coroutine=<function sleep at')
214
215
216async def test_cron_cancelled(worker, mocker):

Callers

nothing calls this directly

Calls 1

cronFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…