Add note for using xfail on test for mqtt_statestream (#91999)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Jan Bouwhuis 2023-04-25 22:49:47 +02:00 committed by GitHub
parent aab7dffdb9
commit 62bb584522
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,6 +96,9 @@ async def test_setup_and_stop_waits_for_ha(
mqtt_mock.async_publish.assert_not_called()
# We use xfail with this test because there is an unhandled exception
# in a background task in this test.
# The exception is raised by mqtt.async_publish.
@pytest.mark.xfail()
async def test_startup_no_mqtt(
hass: HomeAssistant, caplog: pytest.LogCaptureFixture