Refactor command handling
This now supports usage/help texts
This commit is contained in:
@ -69,8 +69,8 @@ class TestSshd:
|
||||
assert found is True
|
||||
session.stdin.write(test_client.public_key + "\n")
|
||||
|
||||
result = await session.stdout.readline()
|
||||
assert "OK" in result
|
||||
result = await session.stdout.read()
|
||||
assert "Key is valid. Registering client." in result
|
||||
await session.wait()
|
||||
return test_client
|
||||
|
||||
|
||||
Reference in New Issue
Block a user