aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorjonatack <jon@atack.com>2023-01-09 07:25:04 -0800
committerjonatack <jon@atack.com>2023-01-09 08:18:47 -0800
commit0ed9cc58928d98633fb59922ebacbcf248d667cb (patch)
treee0de64fcd182081dd4305caf48bc052d196de6db /test
parentb4fb0a3255d39d7acf334d09b675885462e31c60 (diff)
doc: clarify -i2pacceptincoming help documentation
and also hoist the default setting to a constexpr and remove unused f-string operators in a related functional test.
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/p2p_i2p_sessions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p_i2p_sessions.py b/test/functional/p2p_i2p_sessions.py
index 4e52522b81..9e7fdc6e14 100755
--- a/test/functional/p2p_i2p_sessions.py
+++ b/test/functional/p2p_i2p_sessions.py
@@ -23,12 +23,12 @@ class I2PSessions(BitcoinTestFramework):
self.log.info("Ensure we create a persistent session when -i2pacceptincoming=1")
node0 = self.nodes[0]
- with node0.assert_debug_log(expected_msgs=[f"Creating persistent SAM session"]):
+ with node0.assert_debug_log(expected_msgs=["Creating persistent SAM session"]):
node0.addnode(node=addr, command="onetry")
self.log.info("Ensure we create a transient session when -i2pacceptincoming=0")
node1 = self.nodes[1]
- with node1.assert_debug_log(expected_msgs=[f"Creating transient SAM session"]):
+ with node1.assert_debug_log(expected_msgs=["Creating transient SAM session"]):
node1.addnode(node=addr, command="onetry")