Raman Gupta
73ea34e417
Update media_player and add tests to qualify vizio integration for platinum quality score ( #31187 )
...
* add media player test and update media player logic to qualify vizio for platinum quality score
* add SCAN_INTERVAL and log message once when device goes from available to unavailable and vice versa
* move test constants into one file to avoid defining dupes in each test file
* move constant to shrink diff
* move pytest fixtures to conftest.py
* remove commented out code
* move unload test to test_init
* updates to tests and logging based on review
* bypass notification service
* add fixture so component setup makes it through config flow
* split failure tests into two
* fix setup and entity check for test_init and setup failures in test_media_player
* make domain references consistent across test files
* remove logging steps that were introduced to help debug
* move common patches out to new fixture and use config entry everywhere appropriate
* fix docstring
* add test for update options to increase code coverage
* add one more assert
* refactor test_media_player to move boiler plate logic out of each test into _test_init function
* final refactor of test_media_player to move repeat logic into separate function
* update docstrings
* refactor setup failure tests to move shared logic into private function
* fix last new functions code to use variable instead of static config variable
* remove trailing comma
* test that volume_step gets properly passed to Vizio volume function
* fix comment language
* assert with unittest.mock.call in _test_service and use config_entries.async_setup instead of config_entries.async_add
* replace config_entries.async_add with config_entries.async_setup everywhere
* simplify if statement for argument assertion
* fix logging based on style guide
* remove accidentally committed changes
* update scan interval to something more reasonable and add tests for availability changes
* change filter function to list comprehension, simplify log messages, remove default entity id from logs since it is user configurable, fix docstrings
2020-01-30 22:13:45 +01:00
..
2020-01-05 14:09:17 +02:00
2020-01-13 13:28:07 +01:00
2019-12-09 13:57:24 +01:00
2020-01-29 09:04:57 -08:00
2020-01-05 14:09:17 +02:00
2019-12-09 11:49:35 +01:00
2019-12-09 13:57:24 +01:00
2020-01-29 14:13:09 -06:00
2020-01-05 14:09:17 +02:00
2019-12-09 13:57:24 +01:00
2019-12-09 13:57:24 +01:00
2020-01-02 21:17:10 +02:00
2019-12-15 16:07:57 +01:00
2019-12-09 13:57:24 +01:00
2019-12-09 13:57:24 +01:00
2020-01-09 08:40:10 +01:00
2020-01-05 14:09:17 +02:00
2020-01-05 07:23:22 -06:00
2020-01-29 16:19:13 -08:00
2019-12-09 13:57:24 +01:00
2019-12-09 11:23:21 +01:00
2020-01-05 10:11:17 +01:00
2019-12-09 13:52:18 +01:00
2020-01-27 19:56:26 +01:00
2019-12-09 13:52:18 +01:00
2020-01-05 23:13:54 +02:00
2019-12-09 13:52:18 +01:00
2019-12-09 11:48:52 +01:00
2020-01-22 11:34:11 -08:00
2020-01-24 12:38:35 +01:00
2020-01-20 18:44:55 +02:00
2019-12-09 18:56:21 +01:00
2020-01-01 17:21:42 -06:00
2019-12-08 23:32:50 +01:00
2020-01-27 19:56:26 +01:00
2020-01-07 13:25:57 +01:00
2019-12-09 18:56:21 +01:00
2020-01-20 18:44:55 +02:00
2020-01-26 23:01:35 -08:00
2019-12-09 18:56:21 +01:00
2019-12-09 18:56:21 +01:00
2019-12-09 18:56:21 +01:00
2020-01-04 00:03:54 +01:00
2020-01-27 19:56:26 +01:00
2019-12-09 11:22:04 +01:00
2019-12-09 17:42:00 +01:00
2020-01-29 16:21:23 -08:00
2019-12-09 17:42:00 +01:00
2020-01-07 17:30:53 +01:00
2020-01-02 22:30:20 +01:00
2020-01-19 22:17:06 -08:00
2020-01-27 19:56:26 +01:00
2020-01-07 17:30:53 +01:00
2020-01-27 19:56:26 +01:00
2019-12-08 23:40:06 +01:00
2019-12-09 17:42:00 +01:00
2020-01-01 17:22:32 -06:00
2020-01-28 23:35:28 +01:00
2019-12-09 17:42:00 +01:00
2020-01-11 10:41:52 +01:00
2019-12-09 14:10:04 +01:00
2020-01-04 22:45:11 +01:00
2020-01-29 12:11:22 +01:00
2019-12-09 13:20:51 +01:00
2019-12-09 14:14:40 +01:00
2020-01-02 21:17:10 +02:00
2020-01-20 18:44:55 +02:00
2020-01-27 19:56:26 +01:00
2020-01-02 21:17:10 +02:00
2020-01-01 17:22:08 -06:00
2020-01-02 14:22:13 -06:00
2019-12-09 11:45:11 +01:00
2019-12-09 14:14:40 +01:00
2020-01-03 11:54:19 +01:00
2019-12-09 14:14:40 +01:00
2019-12-09 14:14:40 +01:00
2020-01-05 14:09:17 +02:00
2019-12-09 14:14:40 +01:00
2020-01-02 14:22:30 -06:00
2020-01-14 13:03:02 -08:00
2020-01-27 09:12:18 -08:00
2020-01-02 14:23:16 -06:00
2019-12-09 14:17:36 +01:00
2019-12-09 14:17:36 +01:00
2019-12-09 11:46:49 +01:00
2019-12-09 11:28:07 +01:00
2019-12-08 23:33:42 +01:00
2019-12-31 13:05:31 +01:00
2019-12-09 14:17:36 +01:00
2020-01-28 10:54:39 -08:00
2020-01-01 17:24:30 -06:00
2019-12-09 14:17:36 +01:00
2019-12-09 14:17:36 +01:00
2019-12-09 14:17:36 +01:00
2020-01-14 13:03:02 -08:00
2020-01-17 13:54:28 -08:00
2020-01-03 14:47:06 +01:00
2020-01-21 12:38:38 +01:00
2020-01-02 21:17:10 +02:00
2019-12-09 14:19:48 +01:00
2019-12-09 14:19:48 +01:00
2020-01-02 21:17:10 +02:00
2020-01-14 13:03:02 -08:00
2020-01-23 09:02:44 -08:00
2020-01-06 16:35:10 +01:00
2019-12-09 14:19:48 +01:00
2020-01-28 08:44:30 +01:00
2020-01-02 21:17:10 +02:00
2019-12-09 14:19:48 +01:00
2020-01-30 09:47:16 -08:00
2020-01-25 13:09:43 +02:00
2020-01-24 09:07:53 -08:00
2019-12-09 11:56:51 +01:00
2020-01-29 15:16:54 +01:00
2019-12-09 11:46:08 +01:00
2020-01-02 21:17:10 +02:00
2020-01-14 13:03:02 -08:00
2019-12-09 14:21:24 +01:00
2019-12-09 14:21:24 +01:00
2020-01-14 22:15:59 -05:00
2020-01-17 11:41:46 -05:00
2020-01-14 22:15:59 -05:00
2020-01-14 22:15:59 -05:00
2020-01-14 22:15:59 -05:00
2019-12-09 14:21:24 +01:00
2020-01-06 01:22:22 +01:00
2019-12-09 14:21:24 +01:00
2020-01-21 17:04:22 +01:00
2020-01-02 21:17:10 +02:00
2019-12-09 14:21:24 +01:00
2019-12-10 09:25:42 +01:00
2019-12-09 14:25:18 +01:00
2020-01-27 19:56:26 +01:00
2020-01-29 21:59:24 -08:00
2020-01-20 18:44:55 +02:00
2020-01-02 14:21:54 -06:00
2019-12-31 14:34:53 +01:00
2019-12-09 11:43:46 +01:00
2020-01-27 19:56:26 +01:00
2020-01-14 13:03:02 -08:00
2020-01-02 21:17:10 +02:00
2019-12-09 14:22:30 +01:00
2019-12-09 14:22:30 +01:00
2019-12-09 14:22:30 +01:00
2020-01-07 22:59:04 +01:00
2020-01-05 14:09:17 +02:00
2020-01-02 21:17:10 +02:00
2020-01-14 13:03:02 -08:00
2020-01-23 22:45:06 +01:00
2020-01-27 19:56:26 +01:00
2020-01-06 01:22:22 +01:00
2020-01-11 20:00:02 -08:00
2019-12-09 18:50:40 +05:30
2019-12-09 18:50:40 +05:30
2020-01-02 21:17:10 +02:00
2020-01-02 21:17:10 +02:00
2020-01-02 21:17:10 +02:00
2020-01-30 10:21:51 -08:00
2019-12-09 18:50:40 +05:30
2020-01-20 18:44:55 +02:00
2020-01-22 09:57:47 -08:00
2019-12-09 18:50:40 +05:30
2019-12-09 18:50:40 +05:30
2019-12-09 18:50:40 +05:30
2019-12-09 18:50:40 +05:30
2019-12-09 18:50:40 +05:30
2020-01-30 21:14:46 +01:00
2019-12-09 18:50:40 +05:30
2020-01-02 21:17:10 +02:00
2019-12-09 18:50:40 +05:30
2019-12-09 18:50:40 +05:30
2019-12-09 18:50:40 +05:30
2020-01-06 01:22:22 +01:00
2019-12-09 11:05:22 +01:00
2019-12-09 18:46:56 +01:00
2019-12-09 12:08:51 +01:00
2020-01-27 12:52:58 +01:00
2019-12-10 09:22:13 +01:00
2020-01-01 17:18:40 -06:00
2019-12-09 14:46:24 +01:00
2019-12-09 14:46:24 +01:00
2019-12-09 14:46:24 +01:00
2020-01-15 12:01:47 -08:00
2019-12-09 14:46:24 +01:00
2020-01-03 21:37:11 +01:00
2019-12-09 14:26:53 +01:00
2020-01-06 01:22:22 +01:00
2019-12-09 14:26:53 +01:00
2020-01-03 11:52:01 +01:00
2019-12-09 14:26:53 +01:00
2020-01-29 18:18:24 +01:00
2020-01-05 14:09:17 +02:00
2019-12-09 14:29:39 +01:00
2020-01-14 13:03:02 -08:00
2019-12-12 19:43:49 +01:00
2019-12-09 12:10:38 +01:00
2020-01-05 14:09:17 +02:00
2020-01-03 11:52:01 +01:00
2020-01-22 01:03:42 +01:00
2020-01-22 12:36:25 -08:00
2020-01-27 10:32:14 -05:00
2019-12-09 14:29:39 +01:00
2019-12-09 14:29:39 +01:00
2019-12-09 13:06:25 +01:00
2019-12-31 22:48:43 +01:00
2020-01-02 21:17:10 +02:00
2019-12-09 14:56:20 +01:00
2020-01-02 21:17:10 +02:00
2019-12-09 14:39:51 +01:00
2020-01-05 14:09:17 +02:00
2019-12-09 14:39:51 +01:00
2020-01-05 14:09:17 +02:00
2020-01-19 23:08:32 -08:00
2019-12-09 12:09:49 +01:00
2019-12-09 14:39:51 +01:00
2020-01-29 16:27:25 -08:00
2020-01-15 08:10:42 -08:00
2019-12-09 14:39:51 +01:00
2020-01-06 01:22:22 +01:00
2020-01-14 13:03:02 -08:00
2020-01-23 21:43:30 +01:00
2020-01-26 23:01:35 -08:00
2020-01-29 16:19:13 -08:00
2020-01-29 16:19:13 -08:00
2019-12-09 14:38:01 +01:00
2020-01-27 19:56:26 +01:00
2020-01-03 21:34:20 +01:00
2019-12-09 14:38:01 +01:00
2020-01-02 21:17:10 +02:00
2020-01-02 21:17:10 +02:00
2019-12-09 14:38:01 +01:00
2020-01-23 09:30:06 +01:00
2020-01-17 13:43:41 -07:00
2019-12-09 14:38:01 +01:00
2019-12-09 13:21:45 +01:00
2020-01-21 12:38:38 +01:00
2020-01-05 14:09:17 +02:00
2020-01-05 14:09:17 +02:00
2019-12-09 14:38:01 +01:00
2019-12-09 14:38:01 +01:00
2019-12-09 13:11:37 +01:00
2019-12-11 13:27:28 +01:00
2019-12-09 12:07:10 +01:00
2019-12-09 14:38:01 +01:00
2019-12-09 14:38:01 +01:00
2019-12-09 14:38:01 +01:00
2019-12-09 14:38:01 +01:00
2019-12-09 14:38:01 +01:00
2020-01-24 18:47:22 +01:00
2019-12-19 19:28:03 +02:00
2019-12-08 21:09:48 +01:00
2020-01-02 21:17:10 +02:00
2020-01-09 14:03:27 +01:00
2019-12-09 14:38:01 +01:00
2019-12-09 14:38:01 +01:00
2020-01-27 19:56:26 +01:00
2019-12-09 14:38:01 +01:00
2020-01-05 14:09:17 +02:00
2020-01-01 16:18:17 +01:00
2020-01-27 19:56:26 +01:00
2020-01-29 20:15:47 -05:00
2019-12-09 14:41:48 +01:00
2019-12-23 21:48:24 +01:00
2020-01-14 22:15:59 -05:00
2019-12-09 14:41:48 +01:00
2020-01-20 18:44:55 +02:00
2020-01-12 03:45:01 +01:00
2020-01-03 17:28:05 +01:00
2019-12-09 14:41:48 +01:00
2020-01-14 13:03:02 -08:00
2019-12-09 14:41:48 +01:00
2020-01-03 14:47:06 +01:00
2020-01-07 17:30:53 +01:00
2020-01-03 14:47:06 +01:00
2019-12-09 19:07:32 +01:00
2020-01-05 14:09:17 +02:00
2019-12-10 23:25:06 +01:00
2019-12-09 19:07:32 +01:00
2019-12-09 19:07:32 +01:00
2019-12-09 11:54:56 +01:00
2020-01-03 11:30:26 +01:00
2020-01-27 19:56:26 +01:00
2019-12-09 09:36:42 +01:00
2020-01-05 14:09:17 +02:00
2020-01-07 17:30:53 +01:00
2019-12-09 11:56:02 +01:00
2020-01-30 22:13:45 +01:00
2019-12-09 14:42:53 +01:00
2019-12-09 13:33:08 +01:00
2019-12-09 14:47:53 +01:00
2019-12-09 14:47:53 +01:00
2019-12-09 14:47:53 +01:00
2020-01-03 14:47:06 +01:00
2019-12-09 14:47:53 +01:00
2020-01-22 19:06:08 +01:00
2020-01-02 21:17:10 +02:00
2020-01-11 20:58:06 -05:00
2020-01-22 10:45:38 +01:00
2020-01-05 14:09:17 +02:00
2019-12-09 14:47:53 +01:00
2019-12-09 14:47:53 +01:00
2020-01-02 21:17:10 +02:00
2019-12-09 14:58:51 +01:00
2020-01-09 23:49:13 +01:00
2019-12-09 14:57:42 +01:00
2019-12-09 14:57:42 +01:00
2019-12-09 14:57:42 +01:00
2020-01-03 14:47:06 +01:00
2020-01-02 21:17:10 +02:00
2020-01-03 14:47:06 +01:00
2020-01-21 21:24:59 -08:00
2020-01-29 12:24:43 -05:00
2020-01-22 12:36:25 -08:00
2020-01-03 14:47:06 +01:00
2020-01-03 21:37:11 +01:00