We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dccb51 commit 4208e35Copy full SHA for 4208e35
api/tests/unit_tests/configs/test_dify_config.py
@@ -37,7 +37,11 @@ def test_dify_config_undefined_entry(example_env_file):
37
assert config["LOG_LEVEL"] == "INFO"
38
39
40
+# NOTE: If there is a `.env` file in your Workspace, this test might not succeed as expected.
41
+# This is due to `pymilvus` loading all the variables from the `.env` file into `os.environ`.
42
def test_dify_config(example_env_file):
43
+ # clear system environment variables
44
+ os.environ.clear()
45
# load dotenv file with pydantic-settings
46
config = DifyConfig(_env_file=example_env_file)
47
0 commit comments