dav_events: improved tests for Iso8601Serializer
Run tests / Execute tox to run the test suite (push) Successful in 2m50s

This commit is contained in:
2026-06-15 13:57:36 +02:00
parent b2fe213b0b
commit 57e0c2cc1b
2 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ class Iso8601Serializer:
value -= offset
elif gd['offdir'] == '-':
value += offset
else:
else: # pragma no cover
raise ValueError('Offset format not recognized \'{str}\''.format(str=gd['offset']))
value = value.replace(tzinfo=pytz.UTC)