Skip to content

Commit f5c74d5

Browse files
committed
Remove test for documented class name format
Deleted the test_documented_classes_format function which checked that documented controller entries are valid Python identifiers.
1 parent 07dd42f commit f5c74d5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/pytest/test_controller_documentation.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,3 @@ def test_all_controllers_are_documented(checker: ControllerDocumentationChecker)
145145

146146
assert controller_classes, "No controller classes found"
147147
assert documented_controllers, "No documented controllers found"
148-
149-
150-
def test_documented_classes_format(checker: ControllerDocumentationChecker):
151-
"""Verify documented controller entries are valid Python identifiers."""
152-
documented_controllers = checker.get_documented_controllers()
153-
154-
invalid_names = [name for name in documented_controllers if not name.isidentifier()]
155-
156-
if invalid_names:
157-
pytest.fail(f"Invalid controller class names: {invalid_names}")

0 commit comments

Comments
 (0)