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 bd57dcb commit d5edb08Copy full SHA for d5edb08
test/functional/feature_proxy.py
@@ -30,6 +30,8 @@
30
addnode connect to a CJDNS address
31
32
- Test getnetworkinfo for each node
33
+
34
+- Test passing invalid -proxy
35
"""
36
37
import socket
@@ -304,6 +306,13 @@ def networks_dict(d):
304
306
assert_equal(n4['i2p']['reachable'], False)
305
307
assert_equal(n4['cjdns']['reachable'], True)
308
309
+ self.stop_node(1)
310
311
+ self.log.info("Test passing invalid -proxy raises expected init error")
312
+ self.nodes[1].extra_args = ["-proxy=abc:def"]
313
+ msg = "Error: Invalid -proxy address or hostname: 'abc:def'"
314
+ self.nodes[1].assert_start_raises_init_error(expected_msg=msg)
315
316
317
if __name__ == '__main__':
318
ProxyTest().main()
0 commit comments