Fix broken test

This commit is contained in:
2025-07-18 07:44:36 +02:00
parent 08b85ab3bb
commit d6357c8a88

View File

@ -19,8 +19,8 @@ async def test_help_command(ssh_command_runner: CommandRunner, client_registry:
re_cmd = re.compile(r"^\s{2}([^\s]+)\s.*", re.MULTILINE)
commands = re_cmd.findall(result.stdout)
expected = ['get_secret', 'ls', 'ping']
assert commands == expected
expected = ["get_secret", "ls", "ping", "list", "store", "lookup", "delete"]
assert sorted(commands) == sorted(expected)
print(result.stdout)
@ -39,7 +39,7 @@ async def test_help_registration_command(ssh_command_runner: CommandRunner, clie
re_cmd = re.compile(r"^\s{2}([^\s]+)\s.*", re.MULTILINE)
commands = re_cmd.findall(result.stdout)
expected = ["get_secret", "ls", "register", "ping"]
expected = ["get_secret", "ls", "register", "ping", "list", "store", "lookup", "delete"]
assert sorted(commands) == sorted(expected)
print(result.stdout)