mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 15:27:08 +00:00
Attempt to fix flaky TTS test (#16025)
This commit is contained in:
parent
8ec550d6e0
commit
b901a26c47
@ -44,11 +44,11 @@ class TestTTS:
|
|||||||
|
|
||||||
def teardown_method(self):
|
def teardown_method(self):
|
||||||
"""Stop everything that was started."""
|
"""Stop everything that was started."""
|
||||||
|
self.hass.stop()
|
||||||
|
|
||||||
if os.path.isdir(self.default_tts_cache):
|
if os.path.isdir(self.default_tts_cache):
|
||||||
shutil.rmtree(self.default_tts_cache)
|
shutil.rmtree(self.default_tts_cache)
|
||||||
|
|
||||||
self.hass.stop()
|
|
||||||
|
|
||||||
def test_setup_component_demo(self):
|
def test_setup_component_demo(self):
|
||||||
"""Setup the demo platform with defaults."""
|
"""Setup the demo platform with defaults."""
|
||||||
config = {
|
config = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user