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.
This commit is contained in:
Brian Tiemann 2026-09-14 21:06:12 -04:00
parent f840ed81d1
commit 74a7e1d262
2 changed files with 6 additions and 6 deletions

View File

@ -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')

View File

@ -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')