HomePhabricator

test: Replace (dis)?connect_nodes globals with TestFramework methods

Description

test: Replace (dis)?connect_nodes globals with TestFramework methods

Summary:
This is a semi-automatic regex text replacement (excluding files in the test_framework/ directory):
(dis)?connect_nodes\(self\.nodes\[(\d)\], self\.nodes\[(\d)\]\) --> self.$1connect_nodes($2, $3)

This is a backport of core#19967 [2/3]
https://github.com/bitcoin/bitcoin/pull/19967/commits/4b16c614616c1ff09e5b1dcd58516bcb9a88e5e8

Test Plan: ninja check-functional-extended

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10559

Details

Provenance
PiRKAuthored on Nov 26 2021, 12:41
PiRKPushed on Nov 29 2021, 13:05
Reviewer
Restricted Project
Differential Revision
D10559: test: Replace (dis)?connect_nodes globals with TestFramework methods
Parents
rABC572f52819dc9: test: Replace use of (dis)?connect_nodes globals
Branches
Unknown
Tags
Unknown