We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e39477 commit 933f19cCopy full SHA for 933f19c
api/api_tests/util/string_processing/test_yaml.py
@@ -56,7 +56,8 @@ def test_empty_string_treated_as_unset_uses_default(self):
56
"""When primary var is set but empty, treat as unset and use default (avoids invalid YAML in lists)."""
57
with patch.dict(os.environ, {"YOLOX_HTTP_ENDPOINT": ""}, clear=True):
58
result = substitute_env_vars_in_yaml_content(
59
- 'yolox_endpoints: [$GRPC|"page-elements:8001", $YOLOX_HTTP_ENDPOINT|"http://page-elements:8000/v1/infer"]'
+ "yolox_endpoints: "
60
+ '[$GRPC|"page-elements:8001", $YOLOX_HTTP_ENDPOINT|"http://page-elements:8000/v1/infer"]'
61
)
62
assert result == 'yolox_endpoints: ["page-elements:8001", "http://page-elements:8000/v1/infer"]'
63
0 commit comments