mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Do not install pip packages in tests
This commit is contained in:
@@ -177,6 +177,7 @@ class TestBootstrap:
|
||||
return_value=False)
|
||||
def test_component_not_installed_if_requirement_fails(self, mock_install):
|
||||
"""Component setup should fail if requirement can't install."""
|
||||
self.hass.config.skip_pip = False
|
||||
loader.set_component(
|
||||
'comp', MockModule('comp', requirements=['package==0.0.1']))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user