'Test getting the calendar info.'

def test_get_calendar_info(self):

    calendar = {'id': 'qwertyuiopasdfghjklzxcvbnm@import.calendar.google.com', 'etag': '"3584134138943410"', 'timeZone': 'UTC', 'accessRole': 'reader', 'foregroundColor': '#000000', 'selected': True, 'kind': 'calendar#calendarListEntry', 'backgroundColor': '#16a765', 'description': 'Test    Calendar', 'summary': 'We    are,    we    are,    a...    Test    Calendar', 'colorId': '8', 'defaultReminders': [], 'track': True}
    calendar_info = google.get_calendar_info(self.hass, calendar)
    self.assertEqual(calendar_info, {'cal_id': 'qwertyuiopasdfghjklzxcvbnm@import.calendar.google.com', 'entities': [{'device_id': 'we_are_we_are_a_test_calendar', 'name': 'We    are,    we    are,    a...    Test    Calendar', 'track': True}]})
