Do not install pip packages in tests
This commit is contained in:
parent
354f4b4740
commit
62ba0fa7a2
2 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,7 @@ def get_test_home_assistant(num_threads=None):
|
|||
hass.config.elevation = 0
|
||||
hass.config.time_zone = date_util.get_time_zone('US/Pacific')
|
||||
hass.config.units = METRIC_SYSTEM
|
||||
hass.config.skip_pip = True
|
||||
|
||||
if 'custom_components.test' not in loader.AVAILABLE_COMPONENTS:
|
||||
loader.prepare(hass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue