Fix flaky todoist test (#119954)

Fix flakey todoist test
pull/119984/head
Jan Bouwhuis 2024-06-19 19:43:05 +02:00 committed by GitHub
parent 970836da0c
commit 8ad63a0020
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ from unittest.mock import AsyncMock, patch
import urllib
import zoneinfo
from freezegun.api import FrozenDateTimeFactory
import pytest
from todoist_api_python.models import Due
@ -146,6 +147,7 @@ async def test_update_entity_for_custom_project_no_due_date_on(
)
async def test_update_entity_for_calendar_with_due_date_in_the_future(
hass: HomeAssistant,
freezer: FrozenDateTimeFactory,
api: AsyncMock,
) -> None:
"""Test that a task with a due date in the future has on state and correct end_time."""