Skip to content
Snippets Groups Projects
Commit 06396e2e authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Heinrich Schuchardt
Browse files

test/py: Handle expected reset by command


Add wait_for_reboot optional argument to ConsoleBase::run_command()
so that it can handle an expected reset by command execution.

This is useful if a command will reset the sandbox while testing
such commands, e.g. run_command("reset", wait_for_reboot = True)

Signed-off-by: default avatarMasami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
parent a6aafce4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment