core/tests/components
Johan Bloemberg 08f8e540e3 Macvendor (#4468)
* Add MAC vendor lookup for device_tracker.

* Test vendor mac lookup and fix device attribute.

* Generate requirements.

* Style.

* Use hyphen instead of underscore to satisfy 'idna'.

https://github.com/kjd/idna/issues/17

* Resort imports.

* Refactor macvendor to use macvendors.com API instead of netaddr library.

* Test vendor lookup using macvendors.com api.

* Remove debugging.

* Correct description.

* No longer needed.

* Device tracker is now an async component. Fix ddwrt tests.

* Fix linting.

* Add test case for error conditions.

* There is no reason to retry failes vendor loopups as they won't be saved to the file anyways at that point.

* Sorry, bad assumption, this only made things worse.

* Wait for async parts during setup component to complete before asserting results.

* Fix linting.

* Is generated when running 'coverage html'.

* Undo isort.

* Make aioclient_mock exception more generic.

* Only lookup mac vendor string with adding new device to known_devices.yaml.

* Undo isort.

* Revert unneeded change.

* Adjust to use new websession pattern.

* Always make sure to cleanup response.

* Use correct function to release response.

* Fix tests.
2016-12-01 18:30:41 -08:00
..
alarm_control_panel Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00
automation Add test for delay on automations (#4630) 2016-11-29 08:45:04 -08:00
binary_sensor Threshold sensor (#4216) 2016-11-27 21:55:26 -08:00
calendar Disable broken google offset test (#4540) 2016-11-22 18:34:48 -08:00
camera Reorganize HTTP component (#4575) 2016-11-25 13:04:06 -08:00
climate Allow generic thermostat tolerance to be customisable to determine the temperature difference required to turn switch on. (#4585) 2016-11-27 09:31:00 +00:00
cover Lazy initialise the worker pool (#4110) 2016-10-31 08:47:29 -07:00
device_tracker Macvendor (#4468) 2016-12-01 18:30:41 -08:00
fan Use setup_component in tests (#3414) 2016-09-17 10:29:58 -07:00
http HTTP: Fix registering views after start (#4604) 2016-11-27 14:01:12 -08:00
light Migrate light component to async (#4635) 2016-11-30 13:33:38 -08:00
lock Async bootstrap / component init (#3991) 2016-10-27 00:16:23 -07:00
media_player Refactory aiohttp clientsession handling in HA (#4602) 2016-11-27 16:26:46 -08:00
mqtt support for last will and birth message for mqtt (#4381) 2016-11-14 22:18:33 -08:00
notify Reorganize HTTP component (#4575) 2016-11-25 13:04:06 -08:00
recorder Clean up tests (#4209) 2016-11-03 21:58:18 -07:00
remote Remote Component and Harmony Platform (#4254) 2016-12-01 12:48:08 -08:00
scene LiteJet: Unit tests and new trigger options held_more_than and held_less_than. (#4473) 2016-11-24 09:52:15 -08:00
sensor Add exception handling to Sonarr (#4569) 2016-11-27 21:11:49 -08:00
switch LiteJet: Unit tests and new trigger options held_more_than and held_less_than. (#4473) 2016-11-24 09:52:15 -08:00
weather Update tests, rename variable, and change conversion (#3546) 2016-10-24 21:53:03 -07:00
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_alexa.py More async tests (#4223) 2016-11-05 16:36:20 -07:00
test_api.py More async tests (#4223) 2016-11-05 16:36:20 -07:00
test_configurator.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_conversation.py More async tests (#4223) 2016-11-05 16:36:20 -07:00
test_demo.py Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
test_device_sun_light_trigger.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_emulated_hue.py Fix lint issues for 0.33 (#4451) 2016-11-18 23:05:03 +01:00
test_frontend.py Reorganize HTTP component (#4575) 2016-11-25 13:04:06 -08:00
test_google.py Upgrade aiohttp to 1.1.5 (#4213) 2016-11-24 21:37:56 -08:00
test_graphite.py Removing calls to mock.assert_called_once_with (#3896) 2016-10-16 16:13:27 -07:00
test_group.py Clean up tests (#4209) 2016-11-03 21:58:18 -07:00
test_history.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_influxdb.py Lazy initialise the worker pool (#4110) 2016-10-31 08:47:29 -07:00
test_init.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_input_boolean.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_input_select.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_input_slider.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_introduction.py Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
test_litejet.py LiteJet: Unit tests and new trigger options held_more_than and held_less_than. (#4473) 2016-11-24 09:52:15 -08:00
test_logbook.py Clean up tests (#4209) 2016-11-03 21:58:18 -07:00
test_logentries.py Lazy initialise the worker pool (#4110) 2016-10-31 08:47:29 -07:00
test_logger.py Lazy initialise the worker pool (#4110) 2016-10-31 08:47:29 -07:00
test_mqtt_eventstream.py Clean up tests (#4209) 2016-11-03 21:58:18 -07:00
test_panel_custom.py Async bootstrap / component init (#3991) 2016-10-27 00:16:23 -07:00
test_panel_iframe.py Upgrade aiohttp to 1.1.5 (#4213) 2016-11-24 21:37:56 -08:00
test_persistent_notification.py Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
test_pilight.py Introduce a send_delay for pilight component (#4051) 2016-11-01 21:50:27 -07:00
test_proximity.py Migrate to voluptuous (#3293) [BREAKING CHANGE] 2016-10-11 00:26:11 -07:00
test_rfxtrx.py Clean up tests (#4209) 2016-11-03 21:58:18 -07:00
test_scene.py Use setup_component in tests (#3414) 2016-09-17 10:29:58 -07:00
test_script.py Convert script component to async (#4427) 2016-11-17 21:50:01 -08:00
test_shell_command.py Optimize template 2 (#3521) 2016-09-27 21:29:55 -07:00
test_sleepiq.py Async bootstrap / component init (#3991) 2016-10-27 00:16:23 -07:00
test_splunk.py Lazy initialise the worker pool (#4110) 2016-10-31 08:47:29 -07:00
test_statsd.py Lazy initialise the worker pool (#4110) 2016-10-31 08:47:29 -07:00
test_sun.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_updater.py Make updater more robust (#4625) 2016-11-30 13:03:09 -08:00
test_weblink.py Use setup_component in tests v2 (#3537) 2016-09-26 23:20:36 +02:00
test_websocket_api.py Tweak services return result (#4600) 2016-11-27 12:33:02 -08:00
test_zone.py Fix zone being setup twice 2016-09-24 00:04:03 -07:00