mirror of
https://github.com/home-assistant/core.git
synced 2025-11-06 17:40:11 +00:00
Unignore Ruff PLE, PLW in tests (#114406)
* Unignore Ruff PLE, PLW in tests * fix tests
This commit is contained in:
@@ -344,7 +344,10 @@ def test_supported_features_string(caplog: pytest.LogCaptureFixture) -> None:
|
||||
State("test.entity_id", "on", {"supported_features": "invalid"}),
|
||||
)
|
||||
assert entity.is_supported() is False
|
||||
assert "Entity test.entity_id contains invalid supported_features value invalid"
|
||||
assert (
|
||||
"Entity test.entity_id contains invalid supported_features value invalid"
|
||||
in caplog.text
|
||||
)
|
||||
|
||||
|
||||
def test_request_data() -> None:
|
||||
|
||||
Reference in New Issue
Block a user