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

Class HsmTool

tests/test_wallet.py:1301–1307  ·  view source on GitHub ↗

Helper for testing the hsmtool as a subprocess

Source from the content-addressed store, hash-verified

1299
1300
1301class HsmTool(TailableProc):
1302 """Helper for testing the hsmtool as a subprocess"""
1303 def __init__(self, directory, *args):
1304 self.prefix = "lightning-hsmtool"
1305 TailableProc.__init__(self, os.path.join(directory, "lightning-hsmtool"))
1306 assert hasattr(self, "env")
1307 self.cmd_line = ["tools/lightning-hsmtool", *args]
1308
1309
1310@unittest.skipIf(VALGRIND, "It does not play well with prompt and key derivation.")

Calls

no outgoing calls