Add tests for the Cable model #2119

Closed
opened 2025-12-29 17:22:27 +01:00 by adam · 0 comments
Owner

Originally created by @lampwins on GitHub (Nov 13, 2018).

Proposed Changes

The Cable model clean() logic includes a number of important checks, so we should add test cases for those checks.

Justification

The Cable model plays an important role in NetBox and we should ensure its validation logic does not regress without purpose.

Originally created by @lampwins on GitHub (Nov 13, 2018). <!-- NOTE: This type of issue should be opened only by those reasonably familiar with NetBox's code base and interested in contributing to its development. Describe the proposed change(s) in detail. --> ### Proposed Changes The Cable model `clean()` logic includes a number of important checks, so we should add test cases for those checks. <!-- Provide justification for the proposed change(s). --> ### Justification The Cable model plays an important role in NetBox and we should ensure its validation logic does not regress without purpose.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 17:22:27 +01:00
adam closed this issue 2025-12-29 17:22:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2119