Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chat Client] list_users does not check for formatting #57

Open
beelux opened this issue Apr 17, 2024 · 0 comments
Open

[Chat Client] list_users does not check for formatting #57

beelux opened this issue Apr 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@beelux
Copy link
Collaborator

beelux commented Apr 17, 2024

As it currently stands, the formatting for the !who command output is well-defined in the GitBook:
ChatClient GitBook, RI11

Sadly, list_users/chat_007 does not check for it:

def list_users():
client_name_1 = generate_name()
client_name_2 = generate_name()
client_name_3 = generate_name()
client_process_1, _ = log_in(client_name_1)
client_process_2, _ = log_in(client_name_2)
client_process_3, output_buffer_3 = log_in(client_name_3)
client_process_3.sendline('!who')
clients_list = [[client_name_1, client_process_1], [client_name_2, client_process_2], [client_name_3, client_process_3]]
[handle_pexpect(client_process_3, [process for _, process in clients_list], name, output_buffer_3, f'checking that the name {name} appears in !who output') for name, _ in clients_list]
return client_process_3

@beelux beelux added the bug Something isn't working label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant