Skip to content

Commit a3f9411

Browse files
sebermpsss
authored andcommitted
Export all the test contacts to the reportportal
1 parent e1eef9c commit a3f9411

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tmt/steps/report/reportportal.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,8 @@ def execute_rp_import(self) -> None:
618618
if not test_name:
619619
test_name = test.name
620620
if test.contact:
621-
item_attributes.append({"key": "contact", "value": test.contact[0]})
621+
item_attributes += [
622+
{'key': 'contact', 'value': contact} for contact in test.contact]
622623
if test.summary:
623624
test_description = test.summary
624625
if test.web_link():

0 commit comments

Comments
 (0)