Skip to content

Commit a9b7d6f

Browse files
authored
Merge pull request #8 from taskingaijc/feat-update-enum-name
test:fix testcase
2 parents 1a5c7b7 + 044c584 commit a9b7d6f

File tree

10 files changed

+90
-1257
lines changed

10 files changed

+90
-1257
lines changed

test/common/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ def assume_assistant(res, assistant_dict: Dict[str, Any]):
5252
pass
5353
elif key == 'system_prompt_template' and isinstance(value, str):
5454
pytest.assume(res[key] == [assistant_dict[key]])
55+
elif key in ["memory", "tool", "retrievals"]:
56+
pass
5557
else:
5658
pytest.assume(res[key] == assistant_dict[key])
5759

test/pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ markers =
88

99
log_cli = False
1010

11+
addopts = -W ignore::DeprecationWarning --clean-alluredir --alluredir=./allure-report

0 commit comments

Comments
 (0)