Commit fe827c9
test: align python client expectations with current API responses (#50414)
## Summary
- update `test_milvus_client_collection_describe` to expect
`properties.max_field_id` in `describe_collection`
- align `search_aggregation` JSON/dynamic field rejection cases with the
current server error messages
- keep the affected Python client regressions covered without asserting
outdated responses
## Test plan
- [x] `python3 -m py_compile
tests/python_client/milvus_client/test_milvus_client_collection.py
tests/python_client/milvus_client/test_milvus_client_search_aggregation.py`
- [ ] full pytest execution was not run locally in this submission
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Signed-off-by: nico <cheng.yuan@zilliz.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1853a14 commit fe827c9
2 files changed
Lines changed: 7 additions & 4 deletions
File tree
- tests/python_client/milvus_client
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4260 | 4260 | | |
4261 | 4261 | | |
4262 | 4262 | | |
4263 | | - | |
| 4263 | + | |
4264 | 4264 | | |
4265 | 4265 | | |
4266 | 4266 | | |
| |||
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1154 | 1154 | | |
1155 | 1155 | | |
1156 | 1156 | | |
1157 | | - | |
| 1157 | + | |
1158 | 1158 | | |
1159 | 1159 | | |
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
1163 | 1163 | | |
1164 | 1164 | | |
1165 | | - | |
| 1165 | + | |
1166 | 1166 | | |
1167 | 1167 | | |
1168 | 1168 | | |
| |||
1299 | 1299 | | |
1300 | 1300 | | |
1301 | 1301 | | |
1302 | | - | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
1303 | 1306 | | |
1304 | 1307 | | |
1305 | 1308 | | |
| |||
0 commit comments