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

Function test_to_ms

tests/test_utils.py:99–100  ·  view source on GitHub ↗
(input, output)

Source from the content-addressed store, hash-verified

97 'input,output', [(timedelta(days=1), 86_400_000), (42, 42000), (42.123, 42123), (42.123_987, 42124), (None, None)]
98)
99def test_to_ms(input, output):
100 assert arq.utils.to_ms(input) == output
101
102
103@pytest.mark.parametrize('input,output', [(timedelta(days=1), 86400), (42, 42), (42.123, 42.123), (None, None)])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…