1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-30 18:57:10 +00:00

18 Commits

Author SHA1 Message Date
Erik Montnemery
cff4e46694
Deduplicate TTS mocks () 2024-08-28 13:48:49 +02:00
Paulus Schoutsen
156948c496
Fix defaults for cloud STT/TTS ()
* Fix defaults for cloud STT/TTS

* Prefer entity over legacy provider

* Remove unrealistic tests

* Add tests which show cloud stt/tts entity is preferred

---------

Co-authored-by: Erik <erik@montnemery.com>
2024-08-26 19:39:09 +02:00
Marc Mueller
f11b316dac
Import Generator from collections.abc (4) () 2024-07-01 11:54:42 +02:00
Marc Mueller
59e178df3b
Import Generator from typing_extensions (5) () 2024-06-06 17:33:27 +02:00
epenet
f178467b0e
Add type hints for TTS test fixtures () 2024-06-03 17:43:18 +02:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] () 2024-03-08 14:44:56 +01:00
Erik Montnemery
3fc0c9a325
Improve TTS test fixtures () 2023-05-25 11:59:20 +02:00
Erik Montnemery
68379dd55a
Improve TTS cache dir mocking () 2023-05-24 21:00:35 +02:00
Franck Nijhof
b6a3ffb20f
Revert "Fail TTS tests if default TTS cache dir exists ()" () 2023-04-26 21:18:17 +02:00
Erik Montnemery
32ffedd365
Fail TTS tests if default TTS cache dir exists ()
Fail tests if default tts cache dir exists
2023-04-26 15:28:48 +02:00
Martin Hjelmare
0594fefb0c
Clean up tts fixtures () 2023-04-25 22:21:18 +02:00
Martin Hjelmare
1a18dc7425
Add tts entity ()
* Add tts entity

* Allow passing engine id to url view

* Update async_resolve_engine

* Add and update more tests

* Fix assist pipeline tests temporarily

* Move fixtures

* Update notify platform

* Complete legacy tests

* Update media source tests

* Update async_get_text_to_speech_languages

* Address comment

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-20 22:55:46 -04:00
Martin Hjelmare
9bd12f6503
Move legacy tts ()
* Move legacy tts

* Add error log on unknown platform

* Add legacy tests and delint all tests

* Consolidate log format

* Add more legacy tests

* Test default legacy provider attributes

* Remove test generated files

* Clean up after merge conflict
2023-04-17 13:01:50 -04:00
Franck Nijhof
57cf11f067
Enable Ruff PT015 () 2023-01-27 11:10:29 +01:00
Franck Nijhof
73c4ac53d2
Enable T20 (flake8-print) to ban use of print statements ()
* Enable T20 (flake8-print) to ban use of print statements

* Make compatible with flake8 config
2023-01-24 14:24:21 +01:00
Paulus Schoutsen
8456c6416e
Add a media source to TTS () 2022-02-14 08:54:12 -08:00
springstan
eae21be5b9
Improve string formatting v6 () 2020-04-07 23:14:28 +02:00
Paulus Schoutsen
5bf7e0fcc0
List dir when test fails () 2020-04-05 12:15:29 +02:00