test: Update python tests to use named parameters instead of options objects
This commit is contained in:
1 parent
96233146dd
commit
95d7de0964
13 files changed
+140
-140
No files matched your search
@@ -211,13 +211,13 @@ class WalletSignerTest(BitcoinTestFramework):
|
||||
self.log.info('Test send using hww1')
|
||||
|
||||
# Don't broadcast transaction yet so the RPC returns the raw hex
|
||||
res = hww.send(outputs={dest:0.5},options={"add_to_wallet": False})
|
||||
res = hww.send(outputs={dest:0.5},add_to_wallet=False)
|
||||
assert res["complete"]
|
||||
assert_equal(res["hex"], mock_tx)
|
||||
|
||||
self.log.info('Test sendall using hww1')
|
||||
|
||||
res = hww.sendall(recipients=[{dest:0.5}, hww.getrawchangeaddress()],options={"add_to_wallet": False})
|
||||
res = hww.sendall(recipients=[{dest:0.5}, hww.getrawchangeaddress()], add_to_wallet=False)
|
||||
assert res["complete"]
|
||||
assert_equal(res["hex"], mock_tx)
|
||||
# Broadcast transaction so we can bump the fee
|
||||
|
||||
Reference in new issue
Block a user