mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Component set add unsing OR (#5880)
This commit is contained in:
parent
5ad934907a
commit
abaf9e53c2
@ -25,7 +25,7 @@ class TestComponentLogbook(unittest.TestCase):
|
|||||||
"""Setup things to be run when tests are started."""
|
"""Setup things to be run when tests are started."""
|
||||||
self.hass = get_test_home_assistant()
|
self.hass = get_test_home_assistant()
|
||||||
mock_http_component(self.hass)
|
mock_http_component(self.hass)
|
||||||
self.hass.config.components &= set(['frontend', 'recorder', 'api'])
|
self.hass.config.components |= set(['frontend', 'recorder', 'api'])
|
||||||
with patch('homeassistant.components.logbook.'
|
with patch('homeassistant.components.logbook.'
|
||||||
'register_built_in_panel'):
|
'register_built_in_panel'):
|
||||||
assert setup_component(self.hass, logbook.DOMAIN,
|
assert setup_component(self.hass, logbook.DOMAIN,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user