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

Function restore_valgrind

tests/test_misc.py:2675–2680  ·  view source on GitHub ↗

Move valgrind files back to where fixtures expect them

(node, subdir)

Source from the content-addressed store, hash-verified

2673
2674
2675def restore_valgrind(node, subdir):
2676 """Move valgrind files back to where fixtures expect them"""
2677 for f in os.listdir(subdir):
2678 if f.startswith('valgrind-errors.'):
2679 shutil.move(os.path.join(subdir, f),
2680 node.daemon.opts.get("lightning-dir"))
2681
2682
2683@unittest.skipIf(env('COMPAT') != 1, "Upgrade code requires COMPAT_V073")

Callers 2

test_testnet_upgradeFunction · 0.85
test_regtest_upgradeFunction · 0.85

Calls 2

joinMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected