MCPcopy Create free account
hub / github.com/ElementsProject/elements / do_test

Method do_test

test/functional/wallet_taproot.py:317–321  ·  view source on GitHub ↗
(self, comment, pattern, privmap, treefn, nkeys)

Source from the content-addressed store, hash-verified

315 assert(self.psbt_online.gettransaction(txid)['confirmations'] > 0)
316
317 def do_test(self, comment, pattern, privmap, treefn, nkeys):
318 keys = self.rand_keys(nkeys * 4)
319 self.do_test_addr(comment, pattern, privmap, treefn, keys[0:nkeys])
320 self.do_test_sendtoaddress(comment, pattern, privmap, treefn, keys[0:nkeys], keys[nkeys:2*nkeys])
321 self.do_test_psbt(comment, pattern, privmap, treefn, keys[2*nkeys:3*nkeys], keys[3*nkeys:4*nkeys])
322
323 def run_test(self):
324 self.log.info("Creating wallets...")

Callers 1

run_testMethod · 0.95

Calls 4

rand_keysMethod · 0.95
do_test_addrMethod · 0.95
do_test_sendtoaddressMethod · 0.95
do_test_psbtMethod · 0.95

Tested by

no test coverage detected