Skip to content

tests: cover unsetting the primary MAC of an interface - #611

Merged
semx merged 2 commits into
developmentfrom
tests/mac-remove-association
Oct 31, 2026
Merged

semx merged 2 commits into
developmentfrom
tests/mac-remove-association

Conversation

@semx

@semx semx commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Covers the change in #609: removing the interface association of a MAC address has to unset it as primary MAC of the interface (unset_items), NetBox refuses to unassign it otherwise.

On development the test fails (unset_items stays empty because the unset goes to the device, which has no such field), with #609 merged it passes.

remove_interface_association() has to unset the MAC address as primary MAC
of its interface, NetBox refuses to unassign it otherwise. The test fails
on development and passes with #609.
@semx
semx requested a review from bb-Ricardo as a code owner October 31, 2026 16:40
@semx
semx merged commit 8e281b0 into development Oct 31, 2026
1 check passed
@semx
semx deleted the tests/mac-remove-association branch October 31, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant