Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Petr Šplíchal <[email protected]>
  • Loading branch information
KwisatzHaderach and psss authored Jul 9, 2024
1 parent 6677d01 commit b41a121
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tmt/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ def read_polarion_case(
if not polarion_case.tmtid:
echo(style(
f"Can't add ID because {polarion_case.project_id} project "
"doesn't have tmtid field defined",
"doesn't have the 'tmtid' field defined.",
fg='yellow'))
current_data[tmt.identifier.ID_KEY] = uuid
echo(style('ID: ', fg='green') + uuid)
Expand Down
2 changes: 1 addition & 1 deletion tmt/export/polarion.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def export_to_polarion(test: tmt.base.Test) -> None:
if not polarion_case.tmtid:
echo(style(
f"Can't add ID because {polarion_case.project_id} project "
"doesn't have tmtid field defined",
"doesn't have the 'tmtid' field defined.",
fg='yellow'))
if dry_mode or polarion_case.tmtid:
echo(style(f"Append the ID {uuid}.", fg='green'))
Expand Down

0 comments on commit b41a121

Please sign in to comment.