Exemplo n.º 1
0
 def test_check_config(self, mock_check, mock_stop):
     """Test stop service."""
     comps.check_config(self.hass)
     self.hass.block_till_done()
     assert mock_check.called
     assert not mock_stop.called
Exemplo n.º 2
0
 def test_check_config(self, mock_check, mock_stop):
     """Test stop service."""
     comps.check_config(self.hass)
     self.hass.block_till_done()
     assert mock_check.called
     assert not mock_stop.called