hass-core/tests
Robbie Trencheny c1ce6855c5 Expose notify platform targets as individual services (#2837)
* First pass on providing individual services for all possible targets that a notification platform supports.

* Add a quite hacky first version of notification groups

* Add a docstring for get_targets

* Register group service under notifygroup/ and safely check for notifygroups in config

* Remove notifygroups, because it belongs in its own PR

* Make @balloob requested changes

* get_targets()->targets

* Add tests for notify targets exposed as individual services

* If we dont have a platform name set in configuration, lets use the name of the platform instead of notify

* Fix test docstring.

* Dont use a dictionary for just one value

* No need to double slugify

* targets is now just a list of strings instead of a dict
2016-08-16 22:05:41 -07:00
..
components Expose notify platform targets as individual services (#2837) 2016-08-16 22:05:41 -07:00
fixtures Move elevation to core config and clean up HTTP mocking in tests (#2378) 2016-06-27 09:02:45 -07:00
helpers add tcp/udp port to config validation (#2854) 2016-08-16 20:55:29 -07:00
resources Revised package util tests 2016-01-30 14:08:32 -05:00
scripts Handle requirements for scripts (#2765) 2016-08-09 23:54:34 -07:00
testing_config/custom_components Exclude tests in dependencies in test dir from pytest (#2618) 2016-07-25 08:26:07 -07:00
util Handle requirements for scripts (#2765) 2016-08-09 23:54:34 -07:00
__init__.py Tweak Recorder 2016-07-11 08:56:07 -07:00
common.py Move unit system to util (#2763) 2016-08-08 20:42:25 -07:00
test_bootstrap.py Allow circular dependency with discovery (#2616) 2016-07-25 22:49:10 -07:00
test_config.py Add unit system support 2016-08-04 22:02:19 -07:00
test_core.py Enforce lower case for services and warn if local unknown service called (#2764) 2016-08-09 19:41:45 -07:00
test_loader.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_remote.py Update unit tests for remote.py (#2782) 2016-08-10 17:40:35 -07:00