1
0
mirror of https://github.com/home-assistant/core synced 2024-07-08 20:17:01 +00:00

Fix mqtt test fixture usage (#120602)

This commit is contained in:
Marc Mueller 2024-06-26 21:30:30 +02:00 committed by GitHub
parent 8839a71adc
commit dd6cc82f70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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,