MCPcopy Create free account
hub / github.com/ElementsProject/lightning / HsmTool

Class HsmTool

tests/test_wallet.py:1103–1109  ·  view source on GitHub ↗

Helper for testing the hsmtool as a subprocess

Source from the content-addressed store, hash-verified

1101
1102
1103class HsmTool(TailableProc):
1104 """Helper for testing the hsmtool as a subprocess"""
1105 def __init__(self, directory, *args):
1106 self.prefix = "hsmtool"
1107 TailableProc.__init__(self, os.path.join(directory, "hsmtool"))
1108 assert hasattr(self, "env")
1109 self.cmd_line = ["tools/hsmtool", *args]
1110
1111
1112@unittest.skipIf(VALGRIND, "It does not play well with prompt and key derivation.")

Callers 2

test_hsmtool_generatehsmFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_hsmtool_generatehsmFunction · 0.68