Attempt to fix flaky TTS test (#16025)

This commit is contained in:
Paulus Schoutsen 2018-08-18 13:35:51 +02:00 committed by Pascal Vizeli
parent 8ec550d6e0
commit b901a26c47

View File

@ -44,11 +44,11 @@ class TestTTS:
def teardown_method(self):
"""Stop everything that was started."""
self.hass.stop()
if os.path.isdir(self.default_tts_cache):
shutil.rmtree(self.default_tts_cache)
self.hass.stop()
def test_setup_component_demo(self):
"""Setup the demo platform with defaults."""
config = {