Skip to content

Commit 13c8f0b

Browse files
committed
fix test cases
1 parent 49a406b commit 13c8f0b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

test/testcases/test_sdk_api/test_dataset_mangement/test_create_dataset.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ def test_parser_config_empty(self, client):
590590
{
591591
"chunk_token_num": 512,
592592
"delimiter": r"\n",
593+
"graphrag": {"use_graphrag": False},
593594
"html4excel": False,
594595
"layout_recognize": "DeepDOC",
595596
"raptor": {"use_raptor": False},
@@ -607,6 +608,7 @@ def test_parser_config_unset(self, client):
607608
{
608609
"chunk_token_num": 512,
609610
"delimiter": r"\n",
611+
"graphrag": {"use_graphrag": False},
610612
"html4excel": False,
611613
"layout_recognize": "DeepDOC",
612614
"raptor": {"use_raptor": False},

test/testcases/test_sdk_api/test_dataset_mangement/test_update_dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ def test_parser_config_empty(self, client, add_dataset_func):
638638
{
639639
"chunk_token_num": 512,
640640
"delimiter": r"\n",
641+
"graphrag": {"use_graphrag": False},
641642
"html4excel": False,
642643
"layout_recognize": "DeepDOC",
643644
"raptor": {"use_raptor": False},

test/testcases/test_sdk_api/test_file_management_within_dataset/test_update_document.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ def test_parser_config(self, client, add_documents, chunk_method, parser_config,
403403
{
404404
"chunk_token_num": 512,
405405
"delimiter": r"\n",
406+
"graphrag": {"use_graphrag": False},
406407
"html4excel": False,
407408
"layout_recognize": "DeepDOC",
408409
"raptor": {"use_raptor": False},

0 commit comments

Comments
 (0)