HomeDevCentral

Fix node.resolve_network tests

Description

Fix node.resolve_network tests

Summary:
Any private IP addressi instead of Drake network is ignored
by the node.resolve_network function, so we need to update
the private address in test data to belong to that range.

Furthermore, new entries have been added to the dictionary,
not handled by current test suite, so it makes more sense
to test for an exact subset than for equality.

This is a follow-up for 5877d5111f9a.
This is a follow-up for 4d08af81970d.

Ref T2123

Test Plan: (cd _tests && python3 -m unittest modules/test_node.py)

Reviewers: DorianWinty

Reviewed By: DorianWinty

Maniphest Tasks: T2123

Differential Revision: https://devcentral.nasqueron.org/D3663

Details

Provenance
derecksonAuthored on Sep 12 2025, 17:05
derecksonPushed on Tue, Oct 14, 17:05
Reviewer
DorianWinty
Differential Revision
D3663: Fix node.resolve_network tests
Parents
rOPSded05a5feed3: Read flatter docker_networks pillar
Branches
Unknown
Tags
Unknown
Tasks
T2123: Fix tests for operations repository