Fix broken tests (#11395)
* Do not leave remember the milk config file behind * Fix exception in service causing service timeout * Change max service timeout to 9 to catch services timing out * Fix Google Sync service test * Update and pin test requirements
This commit is contained in:
parent
b9c852392c
commit
6e63a4ed8a
5 changed files with 33 additions and 32 deletions
|
@ -109,6 +109,7 @@ class TestShellCommand(unittest.TestCase):
|
|||
def test_template_render(self, mock_call):
|
||||
"""Ensure shell_commands with templates get rendered properly."""
|
||||
self.hass.states.set('sensor.test_state', 'Works')
|
||||
mock_call.return_value = mock_process_creator(error=False)
|
||||
self.assertTrue(
|
||||
setup_component(self.hass, shell_command.DOMAIN, {
|
||||
shell_command.DOMAIN: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue