Fix litejet tests
This commit is contained in:
1 parent
52926f1961
commit
41440d4f1b
4 files changed
+4
-4
No files matched your search
@@ -21,7 +21,7 @@ ENTITY_OTHER_SWITCH_NUMBER = 2
|
||||
class TestLiteJetSwitch(unittest.TestCase):
|
||||
"""Test the litejet component."""
|
||||
|
||||
@mock.patch("pylitejet.LiteJet")
|
||||
@mock.patch("homeassistant.components.litejet.LiteJet")
|
||||
def setup_method(self, method, mock_pylitejet):
|
||||
"""Set up things to be run when tests are started."""
|
||||
self.hass = get_test_home_assistant()
|
||||
|
||||
Reference in new issue
Block a user