Add installed apps to samsungtv sources (#66752)

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2022-02-18 22:33:49 +01:00 committed by GitHub
parent cfd908218d
commit 3aa18ea5d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 123 additions and 11 deletions

View file

@ -8,6 +8,8 @@ from samsungtvws import SamsungTVWS
import homeassistant.util.dt as dt_util
from .const import SAMPLE_APP_LIST
@pytest.fixture(autouse=True)
def fake_host_fixture() -> None:
@ -49,6 +51,7 @@ def remotews_fixture() -> Mock:
"networkType": "wireless",
},
}
remotews.app_list.return_value = SAMPLE_APP_LIST
remotews.token = "FAKE_TOKEN"
remotews_class.return_value = remotews
yield remotews