Skip to content

Commit 9900cd4

Browse files
committed
test: list cstudy reset and the config group among the commands
1 parent 0c6fb2e commit 9900cd4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎cli/tests/entrypoints/test_cli.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,17 @@
2929
PHASE_7_COMMANDS = ("stats", "export", "import", "mock")
3030
WORKSPACE_COMMANDS = ("init", "ide")
3131
PHASE_8_COMMANDS = ("submit", "status")
32-
PHASE_9_COMMANDS = ("history", "serve")
32+
PHASE_9_COMMANDS = ("history", "serve", "reset")
3333

3434

3535
def registered_commands() -> set[str | None]:
3636
return {command.name for command in cli.app.registered_commands}
3737

3838

39+
def test_config_is_a_group_of_commands():
40+
assert [group.name for group in cli.app.registered_groups] == ["config"]
41+
42+
3943
def test_every_command_so_far_is_registered():
4044
assert registered_commands() == {
4145
*PHASE_0_COMMANDS,

0 commit comments

Comments
 (0)