mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-11 03:53:22 +02:00
test: Fix tests on Windows
This commit is contained in:
@@ -53,8 +53,12 @@ class RPCSignerTest(BitcoinTestFramework):
|
||||
)
|
||||
|
||||
# Handle script missing:
|
||||
assert_raises_rpc_error(-1, 'execve failed: No such file or directory',
|
||||
self.nodes[3].enumeratesigners
|
||||
assert_raises_rpc_error(
|
||||
-1,
|
||||
"CreateProcess failed: The system cannot find the file specified."
|
||||
if platform.system() == "Windows"
|
||||
else "execve failed: No such file or directory",
|
||||
self.nodes[3].enumeratesigners,
|
||||
)
|
||||
|
||||
# Handle error thrown by script
|
||||
|
Reference in New Issue
Block a user