1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Enable Ruff PT006 (#88165)

* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
This commit is contained in:
Franck Nijhof
2023-02-15 14:09:50 +01:00
committed by GitHub
parent 6f38bc274a
commit ed79265843
411 changed files with 1532 additions and 1123 deletions

View File

@@ -1456,7 +1456,7 @@ class SlowEntity(MockEntity):
@pytest.mark.parametrize(
"has_entity_name, entity_name, expected_entity_id",
("has_entity_name", "entity_name", "expected_entity_id"),
(
(False, "Entity Blu", "test_domain.entity_blu"),
(False, None, "test_domain.test_qwer"), # Set to <platform>_<unique_id>