Skip to content

Commit 7fb3176

Browse files
committed
Merge branch 'ci/fix-url-quote-v5.3' into 'release/v5.3'
ci: quote spec character in url See merge request espressif/esp-idf!30500
2 parents 935da55 + 5b39968 commit 7fb3176

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import zipfile
2727
from copy import deepcopy
2828
from datetime import datetime
29+
from urllib.parse import quote
2930

3031
import common_test_methods # noqa: F401
3132
import gitlab_api
@@ -478,7 +479,7 @@ def get_path(x: str) -> str:
478479
dut_artifacts_url.append('{}:'.format(_dut.test_case_name))
479480

480481
for file in logs_files:
481-
dut_artifacts_url.append(' - {}'.format(file))
482+
dut_artifacts_url.append(' - {}'.format(quote(file, safe=':/')))
482483

483484

484485
def pytest_terminal_summary(terminalreporter, exitstatus, config): # type: ignore

0 commit comments

Comments
 (0)