Skip to content

Commit 933f19c

Browse files
committed
Linting
1 parent 4e39477 commit 933f19c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/api_tests/util/string_processing/test_yaml.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ def test_empty_string_treated_as_unset_uses_default(self):
5656
"""When primary var is set but empty, treat as unset and use default (avoids invalid YAML in lists)."""
5757
with patch.dict(os.environ, {"YOLOX_HTTP_ENDPOINT": ""}, clear=True):
5858
result = substitute_env_vars_in_yaml_content(
59-
'yolox_endpoints: [$GRPC|"page-elements:8001", $YOLOX_HTTP_ENDPOINT|"http://page-elements:8000/v1/infer"]'
59+
"yolox_endpoints: "
60+
'[$GRPC|"page-elements:8001", $YOLOX_HTTP_ENDPOINT|"http://page-elements:8000/v1/infer"]'
6061
)
6162
assert result == 'yolox_endpoints: ["page-elements:8001", "http://page-elements:8000/v1/infer"]'
6263

0 commit comments

Comments
 (0)