Skip to content

Commit 3540594

Browse files
committed
test(test_dify_config): test default value for WORKFLOW_PARALLEL_DEPTH_LIMIT
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 parent db51210 commit 3540594

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/tests/unit_tests/configs/test_dify_config.py

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ def test_dify_config(example_env_file):
5555
# annotated field with configured value
5656
assert config.HTTP_REQUEST_MAX_WRITE_TIMEOUT == 30
5757

58+
assert config.WORKFLOW_PARALLEL_DEPTH_LIMIT == 3
59+
5860

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

0 commit comments

Comments
 (0)