diff --git a/tests/components/calendar/test_google.py b/tests/components/calendar/test_google.py index d19ecb65704..5c49f3836b2 100644 --- a/tests/components/calendar/test_google.py +++ b/tests/components/calendar/test_google.py @@ -4,8 +4,6 @@ import logging import unittest from unittest.mock import patch -import pytest - import homeassistant.components.calendar as calendar_base import homeassistant.components.calendar.google as calendar import homeassistant.util.dt as dt_util @@ -288,17 +286,15 @@ class TestComponentsGoogleCalendar(unittest.TestCase): 'description': '' }) - @pytest.mark.skip @patch('homeassistant.components.calendar.google.GoogleCalendarData') def test_all_day_offset_in_progress_event(self, mock_next_event): """Test that we can create an event trigger on device.""" tomorrow = dt_util.dt.date.today() \ + dt_util.dt.timedelta(days=1) - offset_hours = (25 - dt_util.now().hour) event_summary = 'Test All Day Event Offset In Progress' event = { - 'summary': '{} !!-{}:0'.format(event_summary, offset_hours), + 'summary': '{} !!-25:0'.format(event_summary), 'start': { 'date': tomorrow.isoformat() },