From bad09887e08cadd0082e58b1d0bd4ab7cf7f085c Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Sat, 23 Oct 2021 12:32:38 +0200 Subject: [PATCH] pytest: fix test_pluginconnected_hook_chaining The last line of the testcase was checking on the wrong node l3 instead of l1. l3 didn't had the plugins configured that would produce the log entry we were looking for not to be present. Changelog-None --- tests/test_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 777647d74..cad8915ce 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -448,7 +448,7 @@ def test_plugin_connected_hook_chaining(node_factory): return peers == [] or not peers[0]['connected'] wait_for(check_disconnect) - assert not l3.daemon.is_in_log(f"peer_connected_logger_b {l3id}") + assert not l1.daemon.is_in_log(f"peer_connected_logger_b {l3id}") def test_async_rpcmethod(node_factory, executor):