[PR #2909] [MERGED] Implement basic view testing for all models #12459

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2909
Author: @jeremystretch
Created: 2/15/2019
Status: Merged
Merged: 2/15/2019
Merged by: @jeremystretch

Base: developHead: 2827-view-tests


📝 Commits (7)

  • bb9017f Added view tests for circuits
  • 69c29f5 Added view tests for extras
  • b947e5d Added view tests for ipam
  • ff448f1 Added view tests for secrets
  • 70e681b Added view tests for tenancy
  • dd36067 Added view tests for virtualization
  • 9baf719 Added view tests for dcim

📊 Changes

7 files changed (+1193 additions, -0 deletions)

View changed files

netbox/circuits/tests/test_views.py (+91 -0)
netbox/dcim/tests/test_views.py (+458 -0)
netbox/extras/tests/test_views.py (+105 -0)
netbox/ipam/tests/test_views.py (+282 -0)
netbox/secrets/tests/test_views.py (+82 -0)
netbox/tenancy/tests/test_views.py (+58 -0)
netbox/virtualization/tests/test_views.py (+117 -0)

📄 Description

Fixes: #2827

Added tests to check the individual object and list views for all models


🔄 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/2909 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/15/2019 **Status:** ✅ Merged **Merged:** 2/15/2019 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `2827-view-tests` --- ### 📝 Commits (7) - [`bb9017f`](https://github.com/netbox-community/netbox/commit/bb9017f4844cb90084b84e57b5fab642b2e4e86d) Added view tests for circuits - [`69c29f5`](https://github.com/netbox-community/netbox/commit/69c29f5d25b479d8efa9028cdf8d29cfa6f677e5) Added view tests for extras - [`b947e5d`](https://github.com/netbox-community/netbox/commit/b947e5d4800c90f975a344bdb17e695cd0239340) Added view tests for ipam - [`ff448f1`](https://github.com/netbox-community/netbox/commit/ff448f103cac827a75904129c1ba08074363c43e) Added view tests for secrets - [`70e681b`](https://github.com/netbox-community/netbox/commit/70e681b079a51863358a185982499f34de0ac929) Added view tests for tenancy - [`dd36067`](https://github.com/netbox-community/netbox/commit/dd360670cab9b94aed382b725d0b9a6911248eae) Added view tests for virtualization - [`9baf719`](https://github.com/netbox-community/netbox/commit/9baf719ccd3fa6103729317bba53396bf8cc9f71) Added view tests for dcim ### 📊 Changes **7 files changed** (+1193 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `netbox/circuits/tests/test_views.py` (+91 -0) ➕ `netbox/dcim/tests/test_views.py` (+458 -0) ➕ `netbox/extras/tests/test_views.py` (+105 -0) ➕ `netbox/ipam/tests/test_views.py` (+282 -0) ➕ `netbox/secrets/tests/test_views.py` (+82 -0) ➕ `netbox/tenancy/tests/test_views.py` (+58 -0) ➕ `netbox/virtualization/tests/test_views.py` (+117 -0) </details> ### 📄 Description ### Fixes: #2827 Added tests to check the individual object and list views for all models --- <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:21:42 +01:00
adam closed this issue 2025-12-29 22:21:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12459