From 0c7afeebafb7ffe79561c5781d45ba0bb23bb9ae Mon Sep 17 00:00:00 2001 From: mhchia Date: Thu, 12 Sep 2019 14:34:17 +0800 Subject: [PATCH] Fix test_security_multistream --- tests/security/test_security_multistream.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/security/test_security_multistream.py b/tests/security/test_security_multistream.py index c8e83c1..26d3140 100644 --- a/tests/security/test_security_multistream.py +++ b/tests/security/test_security_multistream.py @@ -53,8 +53,8 @@ async def perform_simple_test( node2_conn = node2.get_network().connections[peer_id_for_node(node1)] # Perform assertion - assertion_func(node1_conn.secured_conn) - assertion_func(node2_conn.secured_conn) + assertion_func(node1_conn.conn.secured_conn) + assertion_func(node2_conn.conn.secured_conn) # Success, terminate pending tasks.