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
This commit is contained in:
Michael Schmoock 2021-10-23 12:32:38 +02:00 committed by Christian Decker
parent 8898af1ea7
commit bad09887e0

View file

@ -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):