mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Add return type hints in tests (a-i) (#118939)
This commit is contained in:
@@ -405,9 +405,8 @@ async def test_missing_themes(hass: HomeAssistant, ws_client) -> None:
|
||||
assert msg["result"]["themes"] == {}
|
||||
|
||||
|
||||
async def test_extra_js(
|
||||
hass: HomeAssistant, mock_http_client_with_extra_js, mock_onboarded
|
||||
):
|
||||
@pytest.mark.usefixtures("mock_onboarded")
|
||||
async def test_extra_js(hass: HomeAssistant, mock_http_client_with_extra_js) -> None:
|
||||
"""Test that extra javascript is loaded."""
|
||||
resp = await mock_http_client_with_extra_js.get("")
|
||||
assert resp.status == 200
|
||||
|
||||
Reference in New Issue
Block a user