Skip to content

Commit

Permalink
Fix validation of fmf id URL, it must be cloneable first (#2957)
Browse files Browse the repository at this point in the history
  • Loading branch information
happz committed Jun 2, 2024
1 parent 2f74f99 commit ac1d1cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tmt/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ def validate(self) -> tuple[bool, str]:
}
if self.path:
node_data['path'] = str(self.path)
if self.url:
node_data['url'] = tmt.utils.clonable_git_url(self.url)
fmf.base.Tree.node(node_data)
except fmf.utils.GeneralError as error:
# Map fmf errors to more user friendly alternatives
Expand Down

0 comments on commit ac1d1cf

Please sign in to comment.