Add type hints to integration tests (part 17) (#88163)
This commit is contained in:
parent
04e9c7748f
commit
2cdc741900
50 changed files with 469 additions and 251 deletions
|
@ -2,11 +2,18 @@
|
|||
from unittest.mock import patch
|
||||
|
||||
from plexapi.exceptions import NotFound
|
||||
import requests_mock
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
|
||||
async def test_plex_tv_clients(
|
||||
hass, entry, setup_plex_server, requests_mock, player_plexweb_resources
|
||||
):
|
||||
hass: HomeAssistant,
|
||||
entry,
|
||||
setup_plex_server,
|
||||
requests_mock: requests_mock.Mocker,
|
||||
player_plexweb_resources,
|
||||
) -> None:
|
||||
"""Test getting Plex clients from plex.tv."""
|
||||
requests_mock.get("/resources", text=player_plexweb_resources)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue