rename group command to groups to have consistency into the cli

This commit is contained in:
2026-04-10 13:12:23 +02:00
parent 362b53a384
commit e848b8d95f
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -162,7 +162,7 @@ def test_group_count_multi_browser_shows_total():
BrowserTarget("work", "work", "/tmp/work.sock"),
],
), patch("browser_cli.commands.groups.send_command", side_effect=fake_send_command):
result = CliRunner().invoke(main, ["group", "count"])
result = CliRunner().invoke(main, ["groups", "count"])
assert result.exit_code == 0
assert "Browser" in result.output
@@ -175,7 +175,7 @@ def test_group_list_leaves_unnamed_group_cell_empty():
"browser_cli.commands.groups.send_command",
return_value=[{"id": 42, "title": "", "color": "grey", "collapsed": False, "tabCount": 1}],
):
result = CliRunner().invoke(main, ["group", "list"])
result = CliRunner().invoke(main, ["groups", "list"])
assert result.exit_code == 0
assert "(unnamed)" not in result.output