aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_signer.py
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-07-16 22:05:14 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-07-16 22:06:47 +0100
commita0473442d1c22043f5a288bd9255c006fd85d947 (patch)
treef43dba69a69d16c0eed3690954fbe40c889f0abc /test/functional/wallet_signer.py
parent45750f61d65d5ac4a28333d8f676961037b25f55 (diff)
downloadbitcoin-a0473442d1c22043f5a288bd9255c006fd85d947.tar.xz
scripted-diff: Add `__file__` argument to `BitcoinTestFramework.init()`
-BEGIN VERIFY SCRIPT- sed -i -e 's/\s*().main\s*()/(__file__).main()/' $(git ls-files test/functional/*.py) sed -i -e 's/def __init__(self)/def __init__(self, test_file)/' test/functional/test_framework/test_framework.py -END VERIFY SCRIPT-
Diffstat (limited to 'test/functional/wallet_signer.py')
-rwxr-xr-xtest/functional/wallet_signer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_signer.py b/test/functional/wallet_signer.py
index abfc3c1ba1..52b4c390b8 100755
--- a/test/functional/wallet_signer.py
+++ b/test/functional/wallet_signer.py
@@ -263,4 +263,4 @@ class WalletSignerTest(BitcoinTestFramework):
assert_raises_rpc_error(-1, "GetExternalSigner: More than one external signer found", self.nodes[1].createwallet, wallet_name='multi_hww', disable_private_keys=True, descriptors=True, external_signer=True)
if __name__ == '__main__':
- WalletSignerTest().main()
+ WalletSignerTest(__file__).main()