core/tests
Alexander Hardwicke 1d68f4e279 Command Line Sensor - json_attributes (#15679)
* Add tests to command_line for json_attrs

* Add json_attrs to command_line

* Remove whitespace on blank line

* Stick to <80 row length

* Use collections.Mapping, not dict

* Rename *attrs to *attributes

* Remove extraneous + for string concat

* Test multiple keys

* Add test

Makes sure the sensor's attributes don't contain a value for a missing key,
even if we want that key.

* Test that unwanted keys are skipped

* Remove additional log line

* Update tests for log changes

* Fix ordering
2018-07-29 08:37:34 +02:00
..
auth Allow auth providers to influence is_active (#15557) 2018-07-19 22:10:36 +02:00
components Command Line Sensor - json_attributes (#15679) 2018-07-29 08:37:34 +02:00
fixtures Remove unnecessary executable permissions (#15469) 2018-07-14 23:03:36 +02:00
helpers Allow changing entity ID (#15637) 2018-07-24 14:12:53 +02:00
mock Look at registry before pulling zwave config values (#14408) 2018-05-12 17:45:36 -04:00
resources Revised package util tests 2016-01-30 14:08:32 -05:00
scripts Allow auth providers to influence is_active (#15557) 2018-07-19 22:10:36 +02:00
test_util Add python 3.7 to travis and tox (#14523) 2018-07-07 10:48:02 -04:00
testing_config Revert custom component loading logic (#14327) 2018-05-07 11:25:48 +02:00
util More pylint 2 fixes (#15565) 2018-07-20 11:45:20 +03:00
__init__.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
common.py Context (#15674) 2018-07-28 17:53:37 -07:00
conftest.py User management (#15420) 2018-07-13 15:31:20 +02:00
test_bootstrap.py Make typing checks more strict (#14429) 2018-07-13 13:24:51 +03:00
test_config.py Disallow use insecure_example auth provider in configuration.yml (#15504) 2018-07-17 19:36:33 +02:00
test_config_entries.py Storage auth (#15192) 2018-06-28 22:14:26 -04:00
test_core.py Context (#15674) 2018-07-28 17:53:37 -07:00
test_data_entry_flow.py Fix hue discovery popping up (#14614) 2018-05-24 14:24:14 -04:00
test_loader.py Warn when using custom components (#15172) 2018-06-27 15:21:32 -04:00
test_main.py Hello Python 3.5 (#12610) 2018-02-22 23:22:27 -08:00
test_remote.py Spelling fixes (#11940) 2018-01-27 11:58:27 -08:00
test_requirements.py Custom component loading cleanup (#14211) 2018-05-01 20:57:30 +02:00
test_setup.py Custom component loading cleanup (#14211) 2018-05-01 20:57:30 +02:00