[PR #15077] [CLOSED] 15075: Adds "Maintenance" status to devices; updates unit tests #14517

Closed
opened 2025-12-29 23:24:56 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15077
Author: @aaron-iles
Created: 2/7/2024
Status: Closed

Base: developHead: 15075-maintenance-mode


📝 Commits (1)

  • e6eafa7 15075: adds maintenance mode to device status, adds unit tests

📊 Changes

4 files changed (+170 additions, -31 deletions)

View changed files

📝 netbox/dcim/choices.py (+2 -0)
📝 netbox/dcim/tests/test_filtersets.py (+54 -14)
📝 netbox/dcim/tests/test_forms.py (+17 -0)
📝 netbox/utilities/tests/test_filters.py (+97 -17)

📄 Description

Fixes: #15075

Summary

This PR adds "Maintenance" as a status to devices. It also adds and updates unit tests.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/15077 **Author:** [@aaron-iles](https://github.com/aaron-iles) **Created:** 2/7/2024 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `15075-maintenance-mode` --- ### 📝 Commits (1) - [`e6eafa7`](https://github.com/netbox-community/netbox/commit/e6eafa7a376fac13b6781b3c56248215d4b1c1ab) 15075: adds maintenance mode to device status, adds unit tests ### 📊 Changes **4 files changed** (+170 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/choices.py` (+2 -0) 📝 `netbox/dcim/tests/test_filtersets.py` (+54 -14) 📝 `netbox/dcim/tests/test_forms.py` (+17 -0) 📝 `netbox/utilities/tests/test_filters.py` (+97 -17) </details> ### 📄 Description ### Fixes: #15075 ## Summary This PR adds "Maintenance" as a status to devices. It also adds and updates unit tests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:24:56 +01:00
adam closed this issue 2025-12-29 23:24:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14517