core/tests/components/caldav
Florian B 063ac53f01
Fix adding/updating todo items with due date in CalDAV integration (#105435)
* refactor: return date/datetime for due date

* fix: explicitly set due date on vTODO component

Using `set_due` automatically handles converting the Python-native
date/datetime values to the correct representation required by RFC5545.

* fix: fix tests with changed due date handling

* fix: item.due may not be a str

* refactor: keep local timezone of due datetime

* refactor: reorder import statement

To make ruff happy.

* fix: fix false-positive mypy error
2023-12-10 08:23:05 -08:00
..
__init__.py
conftest.py Cleanup CalDAV test fixtures (#103893) 2023-11-13 15:57:47 +01:00
test_calendar.py Cleanup CalDAV test fixtures (#103893) 2023-11-13 15:57:47 +01:00
test_config_flow.py Add config flow to CalDAV (#103215) 2023-11-02 19:48:56 -07:00
test_init.py Cleanup CalDAV test fixtures (#103893) 2023-11-13 15:57:47 +01:00
test_todo.py Fix adding/updating todo items with due date in CalDAV integration (#105435) 2023-12-10 08:23:05 -08:00