Unignore Ruff PLR in tests (#114470)
* Unignore Ruff PLR in tests * Address review comments * review comments * fix import * Update test_api.py * Update test_api.py * Update test_api.py
This commit is contained in:
parent
dc59073f25
commit
d5f883fbf0
169 changed files with 211 additions and 266 deletions
|
@ -47,9 +47,9 @@ async def test_setup(hass: HomeAssistant) -> None:
|
|||
)
|
||||
|
||||
assert len(mock_ex.mock_calls) == 1
|
||||
hass, script, source, data = mock_ex.mock_calls[0][1]
|
||||
test_hass, script, source, data = mock_ex.mock_calls[0][1]
|
||||
|
||||
assert hass is hass
|
||||
assert test_hass is hass
|
||||
assert script == "hello.py"
|
||||
assert source == "fake source"
|
||||
assert data == {"some": "data"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue