We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5edb08 commit 8332e6eCopy full SHA for 8332e6e
test/functional/feature_proxy.py
@@ -32,6 +32,7 @@
32
- Test getnetworkinfo for each node
33
34
- Test passing invalid -proxy
35
+- Test passing invalid -onion
36
"""
37
38
import socket
@@ -313,6 +314,11 @@ def networks_dict(d):
313
314
msg = "Error: Invalid -proxy address or hostname: 'abc:def'"
315
self.nodes[1].assert_start_raises_init_error(expected_msg=msg)
316
317
+ self.log.info("Test passing invalid -onion raises expected init error")
318
+ self.nodes[1].extra_args = ["-onion=xyz:abc"]
319
+ msg = "Error: Invalid -onion address or hostname: 'xyz:abc'"
320
+ self.nodes[1].assert_start_raises_init_error(expected_msg=msg)
321
+
322
323
if __name__ == '__main__':
324
ProxyTest().main()
0 commit comments