Consolidate more platforms (#22308)

* Consolidate final platforms

* Fix some tests

* Fix more tests

* Fix more tests
This commit is contained in:
Paulus Schoutsen 2019-03-23 20:22:35 -07:00 committed by GitHub
parent 4c4eff1d62
commit 1ddc249989
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 98 additions and 97 deletions

View file

@ -80,7 +80,7 @@ class TestImageProcessing:
"""Stop everything that was started."""
self.hass.stop()
@patch('homeassistant.components.camera.demo.DemoCamera.camera_image',
@patch('homeassistant.components.demo.camera.DemoCamera.camera_image',
autospec=True, return_value=b'Test')
def test_get_image_from_camera(self, mock_camera):
"""Grab an image from camera entity."""