core/tests/components/tessie
Brett Adams b4f8fe8d4d
Add media player platform to Tessie (#106214)
* Add media platform

* Add more props

* Fix platform filename

* Working

* Add a test

* Update test and fixture

* Refactor media player properties to handle null values

* Add comments

* add more assertions

* Fix test docstring

* Use walrus instead.

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Test  when media player is idle

* Fix tests

* Remove None type from volume_level

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Return media position only when a media duration is > 0

* Remove impossible None type

* Add snapshot and freezer

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-22 12:07:47 +01:00
..
fixtures Add media player platform to Tessie (#106214) 2023-12-22 12:07:47 +01:00
snapshots Add media player platform to Tessie (#106214) 2023-12-22 12:07:47 +01:00
__init__.py
common.py Add cover platform to Tessie (#105422) 2023-12-22 10:17:23 +01:00
conftest.py Improve tests in Tessie (#105430) 2023-12-11 20:30:54 -10:00
test_binary_sensors.py Quality improvements for Tessie (#106218) 2023-12-22 10:11:18 +01:00
test_button.py Quality improvements for Tessie (#106218) 2023-12-22 10:11:18 +01:00
test_climate.py Add climate platform to Tessie (#105420) 2023-12-21 06:18:18 +01:00
test_config_flow.py Quality improvements for Tessie (#106218) 2023-12-22 10:11:18 +01:00
test_coordinator.py Quality improvements for Tessie (#106218) 2023-12-22 10:11:18 +01:00
test_cover.py Add cover platform to Tessie (#105422) 2023-12-22 10:17:23 +01:00
test_device_tracker.py Quality improvements for Tessie (#106218) 2023-12-22 10:11:18 +01:00
test_init.py Quality improvements for Tessie (#106218) 2023-12-22 10:11:18 +01:00
test_lock.py Add lock platform to Tessie (#106216) 2023-12-22 10:11:48 +01:00
test_media_player.py Add media player platform to Tessie (#106214) 2023-12-22 12:07:47 +01:00
test_number.py Add number platform to Tessie (#106205) 2023-12-22 11:57:21 +01:00
test_select.py Quality improvements for Tessie (#106218) 2023-12-22 10:11:18 +01:00
test_sensor.py Quality improvements for Tessie (#106218) 2023-12-22 10:11:18 +01:00
test_switch.py Quality improvements for Tessie (#106218) 2023-12-22 10:11:18 +01:00
test_update.py Quality improvements for Tessie (#106218) 2023-12-22 10:11:18 +01:00