Consolidate more platforms (#22308)
* Consolidate final platforms * Fix some tests * Fix more tests * Fix more tests
This commit is contained in:
parent
4c4eff1d62
commit
1ddc249989
45 changed files with 98 additions and 97 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue