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:
parent
f840ed81d1
commit
74a7e1d262
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue