mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
pytest: Skip hsm encryption test if we don't have a TTY
This commit is contained in:
parent
be77cd7669
commit
2b12cac31e
@ -12,6 +12,7 @@ from utils import (
|
||||
import os
|
||||
import pytest
|
||||
import subprocess
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
|
||||
@ -946,6 +947,7 @@ def test_transaction_annotations(node_factory, bitcoind):
|
||||
|
||||
|
||||
@unittest.skipIf(VALGRIND, "It does not play well with prompt and key derivation.")
|
||||
@unittest.skipIf(not sys.stdout.isatty(), "Cannot")
|
||||
def test_hsm_secret_encryption(node_factory):
|
||||
l1 = node_factory.get_node(may_fail=True) # May fail when started without key
|
||||
password = "reckful\n"
|
||||
|
Loading…
Reference in New Issue
Block a user