core/tests/components/rest
gjbadros 5f1b0fb15c Allow rest sensor list responses (#28835)
* Make rest sensor a little bit more flexible and allow the response to be a list with 0th element being a dictionary

* Black formatter wanted a different formatting

* Added test case for a list response with dict as 0th element

* Fixed lint error - it thinks a + STRING is an avoidance of using % sequences for log messages; I generally prefer explicit + rather than string juxtaposition for combining string literals, but sounds like that's not the standard

* Fixed test case -- I added it to the wrong scenario and need to use the one with json_attrs.
2019-11-26 22:10:58 +01:00
..
__init__.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
test_binary_sensor.py Fix digest auth rest sensors (#28153) 2019-11-25 23:22:11 -08:00
test_sensor.py Allow rest sensor list responses (#28835) 2019-11-26 22:10:58 +01:00
test_switch.py Cleanup coroutine threadsafe (#27080) 2019-10-01 16:59:06 +02:00