mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-10 16:00:27 +08:00
### 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:
parent
2caf15b24c
commit
2a5ad74ac6
@ -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"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user