예제 #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
예제 #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