mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
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:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user