hass-core/tests/helpers
Phil Bruckner 935e5c67a3 Handle non-string values in JSON renderer (#20233)
Handle the case of async_render_with_possible_json_value's value argument
being something other than a string. This can happen, e.g., when using the
SQL sensor to extract a datetime column such as last_changed and also using
its value_template to convert that datetime to another format. This was
causing a TypeError from json.loads, but async_render_with_possible_json_value
was only catching ValueError's.
2019-01-20 16:46:14 -08:00
..
__init__.py Fix PEP257 issues 2016-03-09 11:15:04 +01:00
test_aiohttp_client.py No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
test_condition.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_config_entry_flow.py Remove check if base url is local (#19494) 2018-12-21 11:23:05 +01:00
test_config_validation.py Allow 'all' entity_id in service schema (#20278) 2019-01-20 16:33:39 -08:00
test_deprecation.py Add tests for deprecation helpers (#7452) 2017-05-06 10:10:48 -07:00
test_device_registry.py Normalize MAC addresses (#16916) 2018-11-06 16:33:31 +01:00
test_discovery.py Pass hass_config to load_platform (#17952) 2018-10-29 19:21:21 +01:00
test_dispatcher.py Log exceptions thrown by signal callbacks (#20015) 2019-01-17 14:44:57 -08:00
test_entity.py Use unicode slugify (#19192) 2018-12-17 07:51:13 +01:00
test_entity_component.py Fix 'all' entity_id in service call extraction (#20281) 2019-01-20 16:33:11 -08:00
test_entity_platform.py Guard for bad device info (#17238) 2018-10-08 12:53:51 +02:00
test_entity_registry.py Clean up device update, add via-hub (#16659) 2018-09-17 13:39:30 +02:00
test_entity_values.py Simplify customize (#6007) 2017-02-15 19:47:30 -08:00
test_entityfilter.py Cloud conf (#18216) 2018-11-05 13:21:03 +01:00
test_event.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_icon.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_init.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_intent.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_json.py Remove homeassistant.remote (#16099) 2018-08-21 15:49:58 +02:00
test_location.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_restore_state.py Restore states when removing/adding entities (#18890) 2018-12-02 10:51:15 +01:00
test_script.py Make automations log errors (#18965) 2018-12-13 12:21:16 +01:00
test_service.py RFC: Deprecate auto target all for services and introduce entity_id: * (#19006) 2018-12-13 10:07:59 +01:00
test_state.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_storage.py Restore states through a JSON store instead of recorder (#17270) 2018-11-28 13:16:43 +01:00
test_sun.py Use const.SUN_EVENT_* more (#18039) 2018-10-31 09:10:28 +01:00
test_temperature.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_template.py Handle non-string values in JSON renderer (#20233) 2019-01-20 16:46:14 -08:00
test_translation.py Fix loading translations for embedded platforms (#20122) 2019-01-15 16:06:04 -08:00