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