Skip to content

Commit

Permalink
test(test_dify_config): test default value for WORKFLOW_PARALLEL_DEPT…
Browse files Browse the repository at this point in the history
…H_LIMIT

Signed-off-by: -LAN- <[email protected]>
  • Loading branch information
laipz8200 committed Dec 9, 2024
1 parent db51210 commit 3540594
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/tests/unit_tests/configs/test_dify_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def test_dify_config(example_env_file):
# annotated field with configured value
assert config.HTTP_REQUEST_MAX_WRITE_TIMEOUT == 30

assert config.WORKFLOW_PARALLEL_DEPTH_LIMIT == 3


# NOTE: If there is a `.env` file in your Workspace, this test might not succeed as expected.
# This is due to `pymilvus` loading all the variables from the `.env` file into `os.environ`.
Expand Down

0 comments on commit 3540594

Please sign in to comment.