Enable Ruff FLY002 rule (#115112)

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
This commit is contained in:
Sid 2024-04-12 09:04:16 +02:00 committed by GitHub
parent 35d3f2b29b
commit 9bf87329da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 474 additions and 659 deletions

View file

@ -42,9 +42,7 @@ async def test_list_user(hass: HomeAssistant, provider, capsys) -> None:
captured = capsys.readouterr()
assert captured.out == "\n".join(
["test-user", "second-user", "", "Total users: 2", ""]
)
assert captured.out == "test-user\nsecond-user\n\nTotal users: 2\n"
async def test_add_user(