Test: Update test cases for #6800 (#6804)

### What problem does this PR solve?

update test case for PR #6800 issue #6539

### Type of change

- [x] update test cases
This commit is contained in:
liu an 2025-04-03 21:22:41 +08:00 committed by GitHub
parent 2caf15b24c
commit 2a5ad74ac6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,12 +96,7 @@ class TestUpdatedChunk:
"payload, expected_code, expected_message",
[
({"questions": ["a", "b", "c"]}, 0, ""),
pytest.param(
{"questions": [""]},
0,
"",
marks=pytest.mark.skip(reason="issues/6539"),
),
({"questions": [""]}, 0, ""),
({"questions": [1]}, 100, "TypeError('sequence item 0: expected str instance, int found')"),
({"questions": ["a", "a"]}, 0, ""),
({"questions": "abc"}, 102, "`questions` should be a list"),