[PR #19524] [MERGED] Closes #19521: Clean up test suite output #15666

Closed
opened 2025-12-30 00:23:18 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19524
Author: @jeremystretch
Created: 5/16/2025
Status: Merged
Merged: 5/21/2025
Merged by: @arthanson

Base: mainHead: 19521-tests-cleanup


📝 Commits (8)

  • 26091cf Suppress extraneous logging in BackgroundTaskTestCase
  • f166e8d Suppress extraneous logging in InterfaceTest
  • 3d6e6bc Suppress deprecation warnings in ScriptTest
  • 4db2696 Fix warning suppression under VLANTest
  • 3f3d379 Suppress warning under VMInterfaceTest
  • b8c0c0f Suppress extraneous logging in BackgroundTaskTestCase
  • dcdb0b8 Suppress warnings from drf_spectacular when testing schema API view
  • 01a09be Add bulk edit data to subscription & notification tests

📊 Changes

8 files changed (+40 additions, -15 deletions)

View changed files

📝 netbox/core/tests/test_api.py (+5 -2)
📝 netbox/core/tests/test_views.py (+5 -3)
📝 netbox/dcim/tests/test_api.py (+3 -2)
📝 netbox/extras/tests/test_api.py (+8 -1)
📝 netbox/extras/tests/test_scripts.py (+6 -2)
📝 netbox/ipam/tests/test_api.py (+3 -2)
📝 netbox/utilities/tests/test_api.py (+3 -1)
📝 netbox/virtualization/tests/test_api.py (+7 -2)

📄 Description

Closes: #19521

  • Suppress extraneous warnings/logging
  • Add missing bulk update data to avoid skipping views

🔄 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/19524 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 5/16/2025 **Status:** ✅ Merged **Merged:** 5/21/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `main` ← **Head:** `19521-tests-cleanup` --- ### 📝 Commits (8) - [`26091cf`](https://github.com/netbox-community/netbox/commit/26091cfa8756237d5627845e0c493f002000f8cf) Suppress extraneous logging in BackgroundTaskTestCase - [`f166e8d`](https://github.com/netbox-community/netbox/commit/f166e8d8ce4ea18cc809d560f573be72f7974ad6) Suppress extraneous logging in InterfaceTest - [`3d6e6bc`](https://github.com/netbox-community/netbox/commit/3d6e6bc2833454c1e0eb0aa09f767f1495802415) Suppress deprecation warnings in ScriptTest - [`4db2696`](https://github.com/netbox-community/netbox/commit/4db269635ae979d54e98d54ce1be378c00677c78) Fix warning suppression under VLANTest - [`3f3d379`](https://github.com/netbox-community/netbox/commit/3f3d379a1c184d2d072b2438250d392bdc2e57a8) Suppress warning under VMInterfaceTest - [`b8c0c0f`](https://github.com/netbox-community/netbox/commit/b8c0c0faeba3a3d7e9d28e10d573709e50815e81) Suppress extraneous logging in BackgroundTaskTestCase - [`dcdb0b8`](https://github.com/netbox-community/netbox/commit/dcdb0b8846aa400b57c51c14418fe24010bacea5) Suppress warnings from drf_spectacular when testing schema API view - [`01a09be`](https://github.com/netbox-community/netbox/commit/01a09be2a35bb24f1dd27cffd2e9368ed7195b7c) Add bulk edit data to subscription & notification tests ### 📊 Changes **8 files changed** (+40 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `netbox/core/tests/test_api.py` (+5 -2) 📝 `netbox/core/tests/test_views.py` (+5 -3) 📝 `netbox/dcim/tests/test_api.py` (+3 -2) 📝 `netbox/extras/tests/test_api.py` (+8 -1) 📝 `netbox/extras/tests/test_scripts.py` (+6 -2) 📝 `netbox/ipam/tests/test_api.py` (+3 -2) 📝 `netbox/utilities/tests/test_api.py` (+3 -1) 📝 `netbox/virtualization/tests/test_api.py` (+7 -2) </details> ### 📄 Description ### Closes: #19521 - Suppress extraneous warnings/logging - Add missing bulk update data to avoid skipping views --- <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-30 00:23:18 +01:00
adam closed this issue 2025-12-30 00:23:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15666