Do not install pip packages in tests

This commit is contained in:
Paulus Schoutsen 2016-08-25 23:23:14 -07:00
parent 354f4b4740
commit 62ba0fa7a2
2 changed files with 2 additions and 0 deletions

View file

@ -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)