Skip to content

test: Remove confusing connect_nodes global #19821

@maflcko

Description

@maflcko

connect_nodes(self.nodes[a], b) is confusing because

  • the types of the arguments differ
  • the test framework is aware of all nodes, so solving a to self.nodes[a] can be done hidden from the caller

This should be fixed by replacing connect_nodes(self.nodes[a], b) with self.connect_nodes(a, b) and removing the global connect_nodes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions