Enable Ruff PT006 (#88165)
* Enable Ruff PT006 * Adjust existing cases * Fix tests * Remove unneeded parentheses
This commit is contained in:
parent
6f38bc274a
commit
ed79265843
411 changed files with 1532 additions and 1123 deletions
|
@ -42,7 +42,7 @@ async def test_unload_entry(hass: HomeAssistant, mock_account) -> None:
|
|||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"side_effect,expected_state",
|
||||
("side_effect", "expected_state"),
|
||||
(
|
||||
(LitterRobotLoginException, ConfigEntryState.SETUP_ERROR),
|
||||
(LitterRobotException, ConfigEntryState.SETUP_RETRY),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue