Enable Ruff D212 (#87347)

This commit is contained in:
Franck Nijhof 2023-02-03 23:08:48 +01:00 committed by GitHub
parent 97de0c6d9a
commit ca1a12898c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
237 changed files with 353 additions and 707 deletions

View file

@ -1197,8 +1197,7 @@ async def test_subscribe_special_characters(
async def test_subscribe_same_topic(
hass, mqtt_client_mock, mqtt_mock_entry_no_yaml_config
):
"""
Test subscring to same topic twice and simulate retained messages.
"""Test subscring to same topic twice and simulate retained messages.
When subscribing to the same topic again, SUBSCRIBE must be sent to the broker again
for it to resend any retained messages.