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

@ -89,7 +89,7 @@ def mock_isfile():
@pytest.fixture
def mock_image():
"""Return a mock camera image."""
with patch('homeassistant.components.camera.demo.DemoCamera.camera_image',
with patch('homeassistant.components.demo.camera.DemoCamera.camera_image',
return_value=b'Test') as image:
yield image