Bump pyps4-2ndscreen to 1.2.0 (#44273)

* Bump PS4 to 1.2.0

* Add additional media_player tests

* Fix tests
This commit is contained in:
ktnrg45
2020-12-18 00:46:59 -07:00
committed by GitHub
parent 5c843a1597
commit 5b14c1da73
7 changed files with 36 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ import pytest
from homeassistant import data_entry_flow
from homeassistant.components import ps4
from homeassistant.components.ps4.config_flow import LOCAL_UDP_PORT
from homeassistant.components.ps4.const import (
DEFAULT_ALIAS,
DEFAULT_NAME,
@@ -360,7 +361,7 @@ async def test_0_pin(hass):
result["flow_id"], mock_config
)
mock_call.assert_called_once_with(
MOCK_HOST, MOCK_CREDS, MOCK_CODE_LEAD_0_STR, DEFAULT_ALIAS
MOCK_HOST, MOCK_CREDS, MOCK_CODE_LEAD_0_STR, DEFAULT_ALIAS, LOCAL_UDP_PORT
)