MCPcopy
hub / github.com/celery/celery / test_maybe_iso8601_datetime

Function test_maybe_iso8601_datetime

t/unit/utils/test_time.py:99–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97
98
99def test_maybe_iso8601_datetime():
100 now = datetime.now()
101 assert maybe_iso8601(now) is now
102
103
104@pytest.mark.parametrize('date_str,expected', [

Callers

nothing calls this directly

Calls 2

maybe_iso8601Function · 0.90
nowMethod · 0.45

Tested by

no test coverage detected