Pass hass_config to load_platform (#17952)
* Pass hass_config to load_platform * Fix tests * Lint
This commit is contained in:
parent
b03e6050c5
commit
6ae345b01c
21 changed files with 70 additions and 56 deletions
|
@ -85,7 +85,8 @@ class TestGoogle(unittest.TestCase):
|
|||
|
||||
calendar_service = google.GoogleCalendarService(
|
||||
self.hass.config.path(google.TOKEN_FILE))
|
||||
assert google.setup_services(self.hass, True, calendar_service)
|
||||
assert google.setup_services(
|
||||
self.hass, {'google': {}}, True, calendar_service)
|
||||
# self.hass.services.call('google', 'found_calendar', calendar,
|
||||
# blocking=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue