Skip to content

Commit 5b39968

Browse files
author
igor.udot
committed
ci: quote spec character in url
1 parent 7c57624 commit 5b39968

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)