From 74a7e1d2628f03dd6c9c3f2a78da3013dec6fcc4 Mon Sep 17 00:00:00 2001 From: Brian Tiemann Date: Mon, 14 Sep 2026 21:06:12 -0400 Subject: [PATCH] Trim issue-number references from test docstrings Per AGENTS.md: those belong in the PR description, not code comments, since they rot as the codebase evolves. --- netbox/dcim/tests/test_api.py | 6 +++--- netbox/vpn/tests/test_api.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/netbox/dcim/tests/test_api.py b/netbox/dcim/tests/test_api.py index 74588d2c2..cd07b6e6d 100644 --- a/netbox/dcim/tests/test_api.py +++ b/netbox/dcim/tests/test_api.py @@ -1208,9 +1208,9 @@ class RackTypeTestCase(APIViewTestCases.APIViewTestCase): def test_form_factor_required(self): """ - Regression test for #23154: form_factor must be reported as required by - OPTIONS, and a POST omitting it must be rejected with a normal "required" - validation error rather than a model-level "cannot be blank" error. + form_factor must be reported as required by OPTIONS, and a POST omitting it + must be rejected with a normal "required" validation error rather than a + model-level "cannot be blank" error. """ self.add_permissions('dcim.add_racktype') diff --git a/netbox/vpn/tests/test_api.py b/netbox/vpn/tests/test_api.py index 2db24f65e..9c8542886 100644 --- a/netbox/vpn/tests/test_api.py +++ b/netbox/vpn/tests/test_api.py @@ -603,9 +603,9 @@ class L2VPNTestCase(APIViewTestCases.APIViewTestCase): def test_type_required(self): """ - Regression test for #23154: type must be reported as required by OPTIONS, - and a POST omitting it must be rejected with a normal "required" validation - error rather than a model-level "cannot be blank" error. + type must be reported as required by OPTIONS, and a POST omitting it must + be rejected with a normal "required" validation error rather than a + model-level "cannot be blank" error. """ self.add_permissions('vpn.add_l2vpn')