mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
pytest: don't redirect stderr by default.
Some tests need to inspect it, but most don't, and I suspect I'm missing some error messages due to this. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
aaf743e438
commit
4cada557ba
@@ -1038,7 +1038,7 @@ def test_hsm_secret_encryption(node_factory):
|
||||
|
||||
# Test we cannot restore the same wallet with another password
|
||||
l1.daemon.opts.update({"encrypted-hsm": None})
|
||||
l1.daemon.start(stdin=slave_fd, wait_for_initialized=False)
|
||||
l1.daemon.start(stdin=slave_fd, wait_for_initialized=False, stderr_redir=True)
|
||||
l1.daemon.wait_for_log(r'Enter hsm_secret password')
|
||||
write_all(master_fd, password[2:].encode("utf-8"))
|
||||
assert(l1.daemon.proc.wait(WAIT_TIMEOUT) == HSM_BAD_PASSWORD)
|
||||
|
||||
Reference in New Issue
Block a user