Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F12944941
D1737.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
670 B
Subscribers
None
D1737.diff
View Options
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py
--- a/test/functional/test_framework/test_node.py
+++ b/test/functional/test_framework/test_node.py
@@ -70,7 +70,8 @@
def __getattr__(self, *args, **kwargs):
"""Dispatches any unrecognised messages to the RPC connection."""
- assert self.rpc_connected and self.rpc is not None, "Error: no RPC connection"
+ assert self.rpc is not None, "Error: RPC not initialized"
+ assert self.rpc_connected, "Error: No RPC connection"
return self.rpc.__getattr__(*args, **kwargs)
def start(self, extra_args=None, stderr=None):
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 16:24 (17 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5082688
Default Alt Text
D1737.diff (670 B)
Attached To
D1737: Split assertion in test_node to provide more accurate error messages
Event Timeline
Log In to Comment