[PR #4087] [MERGED] Closes #4085: Standardize device component view tests #12753

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4087
Author: @jeremystretch
Created: 2/4/2020
Status: Merged
Merged: 2/4/2020
Merged by: @jeremystretch

Base: developHead: 4085-dcim-component-view-tests


📝 Commits (2)

  • bece115 Introduce create_test_device() to reduce test setup boilerplate
  • 763d9b9 Convert all DCIM component view tests to use StandardTestCases

📊 Changes

1 file changed (+248 additions, -316 deletions)

View changed files

📝 netbox/dcim/tests/test_views.py (+248 -316)

📄 Description

Fixes: #4085

Complete earlier work under #4000 to standardize device component view testing. More work remains to be done, but #4086 will need to be completed first.


🔄 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/4087 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/4/2020 **Status:** ✅ Merged **Merged:** 2/4/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `4085-dcim-component-view-tests` --- ### 📝 Commits (2) - [`bece115`](https://github.com/netbox-community/netbox/commit/bece1155ee1b0fd57efbd81510ea57b1f861307d) Introduce create_test_device() to reduce test setup boilerplate - [`763d9b9`](https://github.com/netbox-community/netbox/commit/763d9b9cf74220b6544201d359e0b7f0cc29a60d) Convert all DCIM component view tests to use StandardTestCases ### 📊 Changes **1 file changed** (+248 additions, -316 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/tests/test_views.py` (+248 -316) </details> ### 📄 Description ### Fixes: #4085 Complete earlier work under #4000 to standardize device component view testing. More work remains to be done, but #4086 will need to be completed first. --- <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 22:23:26 +01:00
adam closed this issue 2025-12-29 22:23:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12753