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