fix remove listener (#3196)

This commit is contained in:
Paulus Schoutsen 2016-09-07 06:59:59 -07:00 committed by GitHub
parent 35b388edce
commit 5995f2438e
6 changed files with 54 additions and 44 deletions

View file

@ -280,7 +280,7 @@ class TestBootstrap:
loader.set_component(
'switch.platform_a',
MockPlatform('comp_b', platform_schema=platform_schema))
MockPlatform(platform_schema=platform_schema))
assert not bootstrap.setup_component(self.hass, 'switch', {
'switch': {