Skip to content

Commit 1ac8ead

Browse files
committed
chore: Notion 동기화 2026-06-26 11:00
1 parent 69b980b commit 1ac8ead

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

docs/contribute/.notion-sync.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,12 @@
1212
"content_hash": "e42b83f584a9a280a2fda9240e1647d775c66fe49d0df77fe1afbdd07299e990",
1313
"order": 2,
1414
"parent_id": null
15+
},
16+
"38be15b4-0359-809e-b2f8-f28527769213": {
17+
"file": "docs/contribute/프런트엔드-test-cli-argspy에서-잘못된-cli-인자-유효성-검사-테스트를-수정.md",
18+
"last_edited": "2026-06-26T01:10:00.000Z",
19+
"content_hash": "fe69133f1ae3a605070d2a13974d084e53fa9147e3a8effb301c666c91bee1c3",
20+
"order": 3,
21+
"parent_id": null
1522
}
1623
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
id: 프런트엔드-test-cli-argspy에서-잘못된-cli-인자-유효성-검사-테스트를-수정
3+
title: "[프런트엔드] test_cli_args.py에서 잘못된 CLI 인자 유효성 검사 테스트를 수정"
4+
sidebar_position: 3
5+
slug: "3"
6+
last_update:
7+
date: 2026-06-26
8+
---
9+
10+
[https://github.com/vllm-project/vllm/pull/46779](https://github.com/vllm-project/vllm/pull/46779)
11+
12+
### **목적**
13+
14+
두 가지 테스트에서 `tests/entrypoints/openai/test_cli_args.py` 잘못된 계약 내용이 제시되어 허위 확신을 심어주었습니다.
15+
16+
1. `test_enable_auto_choice_fails_with_enable_reasoning-enable-auto-tool-choice` 와 결합하면 `-reasoning-parser` 실패해야 한다고 주장했습니다. 그러나 이 조합은 (예: ) 에 **지원되는 것으로 문서화되어**  있으며, 올바르게 거부하지 **않습니다**  . 테스트가 통과한 것은 가 생략되었기 때문이며, 실제로는 관련 없는 "자동 도구 선택에는 도구 호출 파서가 필요합니다" 검사를 트리거하여 추론 충돌 유효성 검사가 존재하지 않는다는 사실(그리고 존재해서는 안 된다는 사실)을 가렸습니다. 도구 호출 파서가 설정된 경우 문서화된 조합이 통과하는지 확인하도록 다시 작성했습니다.`docs/features/tool_calling.md-tool-call-parser hunyuan_a13b --reasoning-parser hunyuan_a13bvalidate_parsed_serve_args-tool-call-parser`
17+
2. `test_enable_auto_choice_passes_without_tool_call_parser` 이름이 잘못 지정되었습니다. 해당 함수의 문서 문자열과 본문에서는 유효성 검사가 *실패한다고*  명시하고 있습니다 . `test_enable_auto_choice_fails_without_tool_call_parser` 실제 동작과 일치하도록 이름을 변경했습니다.
18+
19+
이는 테스트 전용 변경 사항이며, 런타임 동작은 수정되지 않습니다.
20+
21+
**중복이 아닙니다.** `test_cli_args`  , `validate_parsed_serve_args` , 및 에 대한 공개 PR을 검색해 보았지만, `test_enable_auto_choice` 해당 테스트는 건드리지 않았습니다.
22+
23+
### **테스트 플랜**
24+
25+
```text
26+
python -m pytest tests/entrypoints/openai/test_cli_args.py -v
27+
# lint
28+
ruff check tests/entrypoints/openai/test_cli_args.py
29+
ruff format --check tests/entrypoints/openai/test_cli_args.py
30+
```
31+
32+
### **시험 결과**
33+
34+
```text
35+
28 passed in 5.48s
36+
ruff: All checks passed! / 1 file already formatted
37+
```
38+

0 commit comments

Comments
 (0)