PS4 Merge async_setup_platform into async_setup_entry (#25689)
* Merge async_setup_platform into async_setup_entry * Pass async_setup_platform * blank line * add test setup platform * white space
This commit is contained in:
1 parent
0a87a4bfda
commit
069c1863eb
2 files changed
+10
-5
No files matched your search
@@ -169,6 +169,11 @@ async def mock_ddp_response(hass, mock_status_data, games=None):
|
||||
await hass.async_block_till_done()
|
||||
|
||||
|
||||
async def test_async_setup_platform_does_nothing():
|
||||
"""Test setup platform does nothing (Uses config entries only)."""
|
||||
await ps4.media_player.async_setup_platform(None, None, None)
|
||||
|
||||
|
||||
async def test_media_player_is_setup_correctly_with_entry(hass):
|
||||
"""Test entity is setup correctly with entry correctly."""
|
||||
mock_entity_id = await setup_mock_component(hass)
|
||||
|
||||
Reference in new issue
Block a user