mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix mqtt test fixture usage (#120602)
This commit is contained in:
parent
8839a71adc
commit
dd6cc82f70
@ -1561,7 +1561,7 @@ async def test_setup_with_advanced_settings(
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.usesfixtures("mock_ssl_context", "mock_process_uploaded_file")
|
||||
@pytest.mark.usefixtures("mock_ssl_context", "mock_process_uploaded_file")
|
||||
async def test_change_websockets_transport_to_tcp(
|
||||
hass: HomeAssistant, mock_try_connection: MagicMock
|
||||
) -> None:
|
||||
|
@ -499,7 +499,7 @@ async def test_image_from_url_fails(
|
||||
),
|
||||
],
|
||||
)
|
||||
@pytest.mark.usesfixtures("hass", "hass_client_no_auth")
|
||||
@pytest.mark.usefixtures("hass", "hass_client_no_auth")
|
||||
async def test_image_config_fails(
|
||||
mqtt_mock_entry: MqttMockHAClientGenerator,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
|
Loading…
x
Reference in New Issue
Block a user