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

Function test_to_seconds

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

Source from the content-addressed store, hash-verified

102
103@pytest.mark.parametrize('input,output', [(timedelta(days=1), 86400), (42, 42), (42.123, 42.123), (None, None)])
104def test_to_seconds(input, output):
105 assert arq.utils.to_seconds(input) == output
106
107
108def test_typing():

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…