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

Function restore_valgrind

tests/test_misc.py:2705–2710  ·  view source on GitHub ↗

Move valgrind files back to where fixtures expect them

(node, subdir)

Source from the content-addressed store, hash-verified

2703
2704
2705def restore_valgrind(node, subdir):
2706 """Move valgrind files back to where fixtures expect them"""
2707 for f in os.listdir(subdir):
2708 if f.startswith('valgrind-errors.'):
2709 shutil.move(os.path.join(subdir, f),
2710 node.daemon.opts.get("lightning-dir"))
2711
2712
2713@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