We have a few integration tests that interactively checks for stdout, read it and interact back with stdin to simulate a user flow. We should rewrite them to make them more robust.
One of them is tests/test_cli/test_new_mnemonic.py:test_script_bls_withdrawal
.
Related to #47 , #30 , #170