Fix litejet tests

This commit is contained in:
Paulus Schoutsen committed 2019-12-04 21:47:35 -08:00
1 parent 52926f1961
commit 41440d4f1b
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ def get_switch_name(number):
@pytest.fixture
def mock_lj(hass):
"""Initialize components."""
with mock.patch("pylitejet.LiteJet") as mock_pylitejet:
with mock.patch("homeassistant.components.litejet.LiteJet") as mock_pylitejet:
mock_lj = mock_pylitejet.return_value
mock_lj.switch_pressed_callbacks = {}