Files
ha-core/tests/components
alim4r 7d256f56c5 Refactor Prometheus tests (#60451)
* Removed prometheus from .coveragerc

* Update prometheus tests with handler categories

* Updated prometheus metrics to use the current registry
- don't use the registry created on import (needed for tests)

* Reset the prometheus CollectorRegistry before every test

* Update prometheus metrics generation
- Use latest registry when generating a response

* Add default collectors when resetting the registry

* Move entities to the specific prometheus test case

* Refactor body generation for prometheus tests

* Add test case for sensors without unit after rebase

* Fix prometheus tests
- Wait for events in prometheus tests
- Add workaround for demo platform dependecy conversation (aiohttp frozen router)

* Added prometheus tests for attribute metrics

* Added prometheus tests for binary_sensor

* Add prometheus test for input_boolean

* Add prometheus test for lights

* Add prometheus test for lock

* Add prometheus test for sensor fahrenheit conversion

* Fix prometheus test for input_number
2021-12-08 20:18:21 +01:00
..
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-12-07 16:48:16 -10:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-08-17 17:29:20 +02:00
2021-03-18 15:13:22 +01:00
2021-12-03 08:51:30 -08:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-09-13 18:18:21 +02:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-12-07 22:42:55 +01:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-29 20:00:39 -05:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-11-04 10:07:50 -05:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-29 14:01:03 -08:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-10-14 10:03:38 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-06-11 13:35:03 +02:00
2021-11-18 21:44:45 -08:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-02-28 14:16:37 +01:00
2021-01-01 22:31:56 +01:00
2021-02-08 14:44:46 +01:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-12-05 15:11:02 +01:00
2021-11-21 17:35:51 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-11-25 18:21:39 -06:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-10-14 10:03:38 -07:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-12-07 08:07:31 +01:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-11-18 15:56:22 -08:00
2021-06-11 13:35:03 +02:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-11-01 20:47:05 -07:00
2021-03-19 15:54:07 +01:00
2021-06-11 13:35:03 +02:00
2021-11-01 20:47:05 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00