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:
@@ -44,7 +44,7 @@ async def test_load_unload_config_entry(
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"side_effect, entry_state",
|
||||
("side_effect", "entry_state"),
|
||||
[
|
||||
(ConnectionFailedError, ConfigEntryState.SETUP_RETRY),
|
||||
(InvalidAuthentication, ConfigEntryState.SETUP_ERROR),
|
||||
@@ -72,7 +72,7 @@ async def test_gateway_config_entry_not_ready(
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"entitydata,old_unique_id,new_unique_id",
|
||||
("entitydata", "old_unique_id", "new_unique_id"),
|
||||
[
|
||||
(
|
||||
{
|
||||
@@ -113,7 +113,7 @@ async def test_migrate_unique_id_temperature(
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"entitydata,old_unique_id,new_unique_id",
|
||||
("entitydata", "old_unique_id", "new_unique_id"),
|
||||
[
|
||||
(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user