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

Function test_next_cron

tests/test_cron.py:98–102  ·  view source on GitHub ↗
(previous, expected, kwargs)

Source from the content-addressed store, hash-verified

96 ],
97)
98def test_next_cron(previous, expected, kwargs):
99 start = datetime.now()
100 assert next_cron(previous, **kwargs) == expected
101 diff = datetime.now() - start
102 print(f'{diff.total_seconds() * 1000:0.3f}ms')
103
104
105def test_next_cron_preserves_tzinfo():

Callers

nothing calls this directly

Calls 1

next_cronFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…