parent
c81735cc84
commit
ce13b0989d
1 changed files with 1 additions and 5 deletions
|
@ -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()
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue