Move socket_enabled fixture to decorator (#118847)
This commit is contained in:
parent
6de26ca811
commit
fb51163075
6 changed files with 11 additions and 12 deletions
|
@ -320,10 +320,10 @@ async def test_api_ingress_panels(
|
|||
("update_diagnostics", "POST", True),
|
||||
],
|
||||
)
|
||||
@pytest.mark.usefixtures("socket_enabled")
|
||||
async def test_api_headers(
|
||||
aiohttp_raw_server, # 'aiohttp_raw_server' must be before 'hass'!
|
||||
hass: HomeAssistant,
|
||||
socket_enabled: None,
|
||||
api_call: str,
|
||||
method: Literal["GET", "POST"],
|
||||
payload: Any,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue