MCPcopy
hub / github.com/celery/celery / test_parse_iso8601_utc

Function test_parse_iso8601_utc

t/unit/utils/test_iso8601.py:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def test_parse_iso8601_utc():
10 dt = parse_iso8601("2023-10-26T10:30:00Z")
11 assert dt == datetime(2023, 10, 26, 10, 30, 0, tzinfo=timezone.utc)
12
13
14def test_parse_iso8601_positive_offset():

Callers

nothing calls this directly

Calls 1

parse_iso8601Function · 0.90

Tested by

no test coverage detected